mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 14:48:25 -04:00
Replace message count macros with formatters
We prefer formatters now. Removing uses of the aliasing macro lets remove it entirely.
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
{% from 'components/big-number.html' import big_number %}
|
||||
{% from 'components/message-count-label.html' import message_count_label %}
|
||||
|
||||
<div class="govuk-grid-row bottom-gutter-2-3">
|
||||
<div class="govuk-grid-column-one-half">
|
||||
<div class="keyline-block">
|
||||
{{ big_number(
|
||||
job.notification_count,
|
||||
message_count_label(job.notification_count, 'letter', suffix='')|capitalize,
|
||||
job.notification_count|message_count_label('letter', suffix='')|capitalize,
|
||||
smaller=True
|
||||
)}}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user