mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
use new letter branding instead of dvla organisation id
new code is copied stylistically from the email branding patterns. Instead of `service.dvla_organisation`, there's now `service.letter_branding` and `service.letter_branding_id`. However, unlike email branding we're not currently showing a preview of the logo. That can come later when we work out how we want to do it.
This commit is contained in:
@@ -309,8 +309,8 @@
|
||||
{% endcall %}
|
||||
{% call row() %}
|
||||
{{ text_field('Letter branding')}}
|
||||
{{ text_field(current_service.letter_branding) }}
|
||||
{{ edit_field('Change', url_for('.set_letter_branding', service_id=current_service.id)) }}
|
||||
{{ text_field(current_service.letter_branding.name) }}
|
||||
{{ edit_field('Change', url_for('.service_set_letter_branding', service_id=current_service.id)) }}
|
||||
{% endcall %}
|
||||
{% call row() %}
|
||||
{{ text_field('Data retention')}}
|
||||
|
||||
@@ -13,12 +13,14 @@
|
||||
<h1 class="heading-large">Set letter branding</h1>
|
||||
{% call form_wrapper() %}
|
||||
{{ live_search(target_selector='.multiple-choice', show=True, form=search_form, label='Search by name') }}
|
||||
{{ radios(form.dvla_org_id, hide_legend=True) }}
|
||||
{{ page_footer(
|
||||
'Save',
|
||||
back_link=url_for('.service_settings', service_id=current_service.id),
|
||||
back_link_text='Back to settings'
|
||||
) }}
|
||||
{{ radios(form.branding_style, hide_legend=True) }}
|
||||
<div class="js-stick-at-bottom-when-scrolling">
|
||||
{{ page_footer(
|
||||
'Save',
|
||||
back_link=url_for('.service_settings', service_id=current_service.id),
|
||||
back_link_text='Back to settings'
|
||||
) }}
|
||||
</div>
|
||||
{% endcall %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user