mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -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,14 +2,6 @@
|
||||
{{ count|message_count_noun(template_type) }} {{ suffix }}
|
||||
{%- endmacro %}
|
||||
|
||||
{% macro recipient_count_label(count, template_type) -%}
|
||||
{{ count|recipient_count_label(template_type) }}
|
||||
{%- endmacro %}
|
||||
|
||||
{% macro recipient_count(count, template_type, prefix='') -%}
|
||||
{{ count|format_thousands }} {{ prefix }} {{ count|recipient_count_label(template_type) }}
|
||||
{% endmacro %}
|
||||
|
||||
{% macro iteration_count(count) -%}
|
||||
{{ count|iteration_count }}
|
||||
{% endmacro %}
|
||||
|
||||
Reference in New Issue
Block a user