mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-23 08:49:46 -04:00
Additional a11y updates
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<div>
|
||||
<ul class="usa-icon-list">
|
||||
<li class="usa-icon-list__item">
|
||||
<img src="{{ url_for('static', filename='img/material-icons/description.svg') }}" alt="Description Icon">
|
||||
<img src="{{ url_for('static', filename='img/material-icons/description.svg') }}" alt="">
|
||||
<div class="usa-icon-list__content">
|
||||
<h3>{{ job.original_file_name }}</h3>
|
||||
</div>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
<div>
|
||||
<ul class="usa-icon-list">
|
||||
<li class="usa-icon-list__item">
|
||||
<img src="{{ url_for('static', filename='img/material-icons/description.svg') }}" alt="Description Icon">
|
||||
<img src="{{ url_for('static', filename='img/material-icons/description.svg') }}" alt="">
|
||||
<div class="usa-icon-list__content">
|
||||
<h3>{{ original_file_name }}</h3>
|
||||
</div>
|
||||
|
||||
@@ -24,11 +24,10 @@
|
||||
{% endif %}
|
||||
{% if current_user.has_permissions('manage_templates') %}
|
||||
<a href="{{ url_for(".edit_service_template", service_id=current_service.id, template_id=template.id) }}" class="usa-button usa-button--outline usa-pill-separate-item">
|
||||
Edit
|
||||
Edit this template
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
||||
@@ -50,40 +50,36 @@
|
||||
</div>
|
||||
<div class="template-footer">
|
||||
{% if template._template.updated_at %}
|
||||
<h2 class="font-body-lg">
|
||||
<span class="font-body-lg text-bold">
|
||||
Last edited
|
||||
<time class="timeago" datetime="{{ template._template.updated_at }}">
|
||||
<time datetime="{{ template._template.updated_at }}">
|
||||
{{ template._template.updated_at|format_delta }}
|
||||
</time>
|
||||
</h2>
|
||||
<h3 class="margin-bottom-0">More actions</h3>
|
||||
</span>
|
||||
<h2 class="margin-bottom-1 font-body-lg">More actions</h2>
|
||||
<ul class="usa-list usa-list--unstyled">
|
||||
<li>
|
||||
<a class="usa-link margin-right-3"
|
||||
href="{{ url_for('.view_template_versions', service_id=current_service.id, template_id=template.id) }}">See previous
|
||||
versions</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% if current_user.has_permissions('manage_templates') and user_has_template_permission %}
|
||||
{% if not template._template.archived %}
|
||||
<ul class="usa-list usa-list--unstyled">
|
||||
<li>
|
||||
<a class="usa-link margin-right-3"
|
||||
href="{{ url_for('.delete_service_template', service_id=current_service.id, template_id=template.id) }}">Delete this
|
||||
template</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% if not template._template.redact_personalisation %}
|
||||
<ul class="usa-list usa-list--unstyled">
|
||||
<li>
|
||||
<a class="usa-link" href="{{ url_for('.confirm_redact_template', service_id=current_service.id, template_id=template.id) }}">Hide all personalized and conditional content after sending</a> for increased privacy protection
|
||||
</li>
|
||||
</ul>
|
||||
{% else %}
|
||||
<p class="hint">Personalization is hidden after sending</p>
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user