mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 12:38:25 -04:00
Add H1 to sent messages page
> Suggest making the H1 visible here for consistency, but also to make > it clear to users what they’re looking at. > This screen is similar to – but not exactly the same as – the > individual text, email and letter dashboard screens from Admin view, > so the H1 could help to distinguish it from them for users who may > have interacted with both.
This commit is contained in:
@@ -4,16 +4,20 @@
|
||||
{% from "components/page-footer.html" import page_footer %}
|
||||
{% from "components/textbox.html" import textbox %}
|
||||
|
||||
{% set page_title = (
|
||||
message_count_label(99, message_type, suffix='') | capitalize
|
||||
if current_user.has_permissions('view_activity')
|
||||
else 'Sent messages'
|
||||
) %}
|
||||
|
||||
{% block service_page_title %}
|
||||
{{ message_count_label(99, message_type, suffix='') | capitalize }}
|
||||
{{ page_title }}
|
||||
{% endblock %}
|
||||
|
||||
{% block maincolumn_content %}
|
||||
|
||||
<h1 class="heading-large">
|
||||
{% if not current_user.has_permissions('view_activity') %}<span class="visually-hidden">{% endif %}
|
||||
{{ message_count_label(99, message_type, suffix='') | capitalize }}
|
||||
{% if not current_user.has_permissions('view_activity') %}</span>{% endif %}
|
||||
{{ page_title }}
|
||||
</h1>
|
||||
{% if not message_type == "letter" %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user