mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 07:18:26 -04:00
Replace recipient macros with formatters
We prefer formatters now. Removing uses of the aliasing macro lets remove it entirely.
This commit is contained in:
@@ -2,17 +2,16 @@
|
||||
{% from "components/page-header.html" import page_header %}
|
||||
{% from "components/page-footer.html" import page_footer %}
|
||||
{% from "components/file-upload.html" import file_upload %}
|
||||
{% from "components/message-count-label.html" import recipient_count_label %}
|
||||
{% from "components/table.html" import list_table, text_field, index_field, index_field_heading %}
|
||||
|
||||
{% block service_page_title %}
|
||||
Upload a list of {{ recipient_count_label(999, template.template_type) }}
|
||||
Upload a list of {{ 999|recipient_count_label(template.template_type) }}
|
||||
{% endblock %}
|
||||
|
||||
{% block maincolumn_content %}
|
||||
|
||||
{{ page_header(
|
||||
'Upload a list of {}'.format(recipient_count_label(999, template.template_type)),
|
||||
'Upload a list of {}'.format(999|recipient_count_label(template.template_type)),
|
||||
back_link=url_for('main.send_one_off', service_id=current_service.id, template_id=template.id)
|
||||
) }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user