mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-29 12:28:27 -04:00
Comma-delimit thousands in ‘Send’ button
Matches the style of how we display numbers in the thousands elsewhere.
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
) }}
|
||||
{% endif %}
|
||||
{% if (template.template_type != 'letter' or not request.args.from_test) and not letter_too_long %}
|
||||
<button type="submit" class="button">Send {{ count_of_recipients }} {{ message_count_label(count_of_recipients, template.template_type, suffix='') }}</button>
|
||||
<button type="submit" class="button">Send {{ count_of_recipients|format_thousands }} {{ message_count_label(count_of_recipients, template.template_type, suffix='') }}</button>
|
||||
{% else %}
|
||||
<a href="{{ url_for('main.check_messages_preview', service_id=current_service.id, template_id=template.id, upload_id=upload_id, filetype='pdf') }}" download class="button">Download as a PDF</a>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user