mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-25 10:29:14 -04:00
Show preview of current branding
This adds a preview of the current branding to users on the page where they can select which new branding they want. Also includes a tiny content change to match the new content doc for this story.
This commit is contained in:
@@ -25,9 +25,12 @@
|
||||
Your emails currently have {{ branding_name }} branding.
|
||||
</p>
|
||||
|
||||
{% set branding_id = current_service.email_branding_id if current_service.email_branding else '__NONE__' %}
|
||||
<iframe src="{{ url_for('main.email_template', branding_style=branding_id) }}" class="branding-preview"></iframe>
|
||||
|
||||
{% if current_service.needs_to_change_email_branding %}
|
||||
<p class="govuk-body">
|
||||
You should be using your own branding instead. We can help you to set this up.
|
||||
You should be using your own branding instead.
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user