mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-03-07 10:52:24 -05:00
Show subject line with placeholders replaced
On the check page, we show what the message will look like with the data from the first row of the CSV, if the CSV contains all the required data. We should do the same for the subject line.
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
|
||||
{% if 'email' == template.template_type %}
|
||||
{{ email_message(
|
||||
template.formatted_subject_as_markup,
|
||||
template.formatted_subject_as_markup if errors else template.replaced_subject,
|
||||
template.formatted_as_markup if errors else template.replaced,
|
||||
from_address='{}@notifications.service.gov.uk'.format(current_service.email_from),
|
||||
from_name=current_service.name
|
||||
|
||||
Reference in New Issue
Block a user