mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 07:48:26 -04:00
Remove redundant argument
This `branding_dict` is not used in the Jinja template anywhere.
This commit is contained in:
@@ -15,10 +15,7 @@ from app.main.s3_client import (
|
|||||||
persist_logo,
|
persist_logo,
|
||||||
upload_logo,
|
upload_logo,
|
||||||
)
|
)
|
||||||
from app.main.views.service_settings import (
|
from app.main.views.service_settings import get_branding_as_value_and_label
|
||||||
get_branding_as_dict,
|
|
||||||
get_branding_as_value_and_label,
|
|
||||||
)
|
|
||||||
from app.utils import get_cdn_domain, user_is_platform_admin
|
from app.utils import get_cdn_domain, user_is_platform_admin
|
||||||
|
|
||||||
|
|
||||||
@@ -38,7 +35,6 @@ def email_branding():
|
|||||||
return render_template(
|
return render_template(
|
||||||
'views/email-branding/select-branding.html',
|
'views/email-branding/select-branding.html',
|
||||||
form=form,
|
form=form,
|
||||||
branding_dict=get_branding_as_dict(brandings),
|
|
||||||
search_form=SearchTemplatesForm(),
|
search_form=SearchTemplatesForm(),
|
||||||
show_search_box=len(brandings) > 9,
|
show_search_box=len(brandings) > 9,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user