mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-10 10:03:21 -04:00
notifications page title for failed letters is titled 'Failed letters'
This commit is contained in:
@@ -5,8 +5,13 @@
|
|||||||
{% from "components/textbox.html" import textbox %}
|
{% from "components/textbox.html" import textbox %}
|
||||||
{% from "components/form.html" import form_wrapper %}
|
{% from "components/form.html" import form_wrapper %}
|
||||||
|
|
||||||
|
{% set title_status = (
|
||||||
|
'Failed '
|
||||||
|
if status == 'failed' and message_type == 'letter'
|
||||||
|
else ''
|
||||||
|
) %}
|
||||||
{% set page_title = (
|
{% set page_title = (
|
||||||
message_count_label(99, message_type, suffix='') | capitalize
|
(title_status + message_count_label(99, message_type, suffix='')) | capitalize
|
||||||
if current_user.has_permissions('view_activity')
|
if current_user.has_permissions('view_activity')
|
||||||
else 'Sent messages'
|
else 'Sent messages'
|
||||||
) %}
|
) %}
|
||||||
|
|||||||
Reference in New Issue
Block a user