Replace recipient macros with formatters

We prefer formatters now. Removing uses of the aliasing macro lets
remove it entirely.
This commit is contained in:
Chris Hill-Scott
2021-01-07 11:57:30 +00:00
parent 462294c9d1
commit 4615c0ea3d
11 changed files with 17 additions and 38 deletions
@@ -1,5 +1,3 @@
{% from "components/message-count-label.html" import recipient_count_label %}
<h1 class='banner-title' data-module="track-error" data-error-type="Trial mode: too many recipients" data-error-label="{{ upload_id }}">
{% if original_file_name %}
Too many recipients
@@ -20,7 +18,6 @@
You can still send {{ remaining_messages|format_thousands }} messages today, but
{% endif %}
{{ original_file_name }} contains
{{ count_of_recipients|format_thousands }}
{{ recipient_count_label(count_of_recipients, template.template_type) }}.
{{ count_of_recipients|recipient_count(template.template_type) }}.
</p>
{% endif %}