mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
update testing
This commit is contained in:
@@ -20,19 +20,27 @@
|
||||
{{ page_header(
|
||||
1|message_count_label(template.template_type, suffix='') | capitalize
|
||||
) }}
|
||||
<p>
|
||||
{% if help %}
|
||||
<p>‘{{ template.name }}’</p>
|
||||
‘{{ template.name }}’
|
||||
{% else %}
|
||||
<a class="usa-link" href="{{ url_for('.view_template', service_id=current_service.id, template_id=template.id) }}">‘{{ template.name }}’</a>
|
||||
{% endif %}
|
||||
<div class="usa-alert usa-alert--success">
|
||||
<div class="usa-alert__body">
|
||||
<h4 class="usa-alert__heading">{{ template.name }} - {{ current_service.name }}</h4>
|
||||
<p class="usa-alert__text">
|
||||
Was sent on {{ created_at|format_datetime_short_12h }} by {{ created_by.name }}
|
||||
was sent
|
||||
{% if job and job.original_file_name != 'Report' %}
|
||||
{% set destination =
|
||||
{'email': 'an email address', 'sms': 'a phone number'} %}
|
||||
to {{ destination[template.template_type] }} from
|
||||
<a class="usa-link" href="{{ url_for('.view_job', service_id=current_service.id, job_id=job.id) }}">{{ job.original_file_name }}</a>
|
||||
{% elif created_by %}
|
||||
by {{ created_by.name }}
|
||||
{% endif %}
|
||||
{{ created_at|format_datetime_human }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ template|string }}
|
||||
<div class="">
|
||||
{{ template|string }}
|
||||
</div>
|
||||
|
||||
{% if template.template_type == 'email' %}
|
||||
<div class="js-stick-at-bottom-when-scrolling">
|
||||
|
||||
Reference in New Issue
Block a user