mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-10 10:03:21 -04:00
Refactor organisation branding into model
This is the same way we handle lazy-loading the branding in the service model.
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
{% endcall %}
|
||||
{% call row() %}
|
||||
{{ text_field('Default email branding') }}
|
||||
{{ text_field(email_branding) }}
|
||||
{{ text_field(current_org.email_branding_name) }}
|
||||
{{ edit_field(
|
||||
'Change',
|
||||
url_for('.edit_organisation_email_branding', org_id=current_org.id)
|
||||
@@ -83,7 +83,7 @@
|
||||
{% call row() %}
|
||||
{{ text_field('Default letter branding') }}
|
||||
{{ optional_text_field(
|
||||
letter_branding,
|
||||
current_org.letter_branding.name,
|
||||
default='No branding'
|
||||
) }}
|
||||
{{ edit_field(
|
||||
|
||||
Reference in New Issue
Block a user