mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 16:24:08 -04:00
Update all links to use GOVUK Frontend style
Includes: - turning off :visited styles to match existing design - swapping heading classes used to make links bold for the GOVUK Frontend bold override class - adding visually hidden text to some links to make them work when isolated from their context We may need to revisit whether some links, such as those for documentation and features, may benefit from having some indication that their target has been visited.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
<p>
|
||||
When you send an email or text message, we can tell you if Notify was able to deliver it.
|
||||
Read the Callbacks section of our <a href="{{ url_for('main.documentation') }}">API documentation</a> for more information.
|
||||
Read the Callbacks section of our <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('main.documentation') }}">API documentation</a> for more information.
|
||||
</p>
|
||||
|
||||
{% call form_wrapper() %}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<div class="column-five-sixths">
|
||||
<p>
|
||||
When you receive a text message in Notify, we can forward it to your system.
|
||||
Check the <a href="{{ url_for('.callbacks') }}"> callback documentation </a> for more information.
|
||||
Check the <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.callbacks') }}"> callback documentation </a> for more information.
|
||||
</p>
|
||||
|
||||
{% call form_wrapper() %}
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
|
||||
<nav class="grid-row bottom-gutter-1-2">
|
||||
<div class="column-one-third">
|
||||
<a class="pill-separate-item" href="{{ url_for('.api_keys', service_id=current_service.id) }}">API keys</a>
|
||||
<a class="govuk-link govuk-link--no-visited-state pill-separate-item" href="{{ url_for('.api_keys', service_id=current_service.id) }}">API keys</a>
|
||||
</div>
|
||||
<div class="column-one-third">
|
||||
<a class="pill-separate-item" href="{{ url_for('.whitelist', service_id=current_service.id) }}">Whitelist</a>
|
||||
<a class="govuk-link govuk-link--no-visited-state pill-separate-item" href="{{ url_for('.whitelist', service_id=current_service.id) }}">Whitelist</a>
|
||||
</div>
|
||||
<div class="column-one-third">
|
||||
<a class="pill-separate-item" href="{{ url_for(callbacks_link, service_id=current_service.id) }}">Callbacks</a>
|
||||
<a class="govuk-link govuk-link--no-visited-state pill-separate-item" href="{{ url_for(callbacks_link, service_id=current_service.id) }}">Callbacks</a>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
</h2>
|
||||
</div>
|
||||
<div class="column-half align-with-heading-copy-right">
|
||||
<a href="{{ url_for('.api_integration', service_id=current_service.id) }}">Refresh</a>
|
||||
<a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.api_integration', service_id=current_service.id) }}">Refresh</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="api-notifications">
|
||||
@@ -77,7 +77,7 @@
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if notification.status not in ('pending-virus-check', 'virus-scan-failed') %}
|
||||
<a class="api-notifications-item__view" href="{{ url_for('.view_notification', service_id=current_service.id, notification_id=notification.id) }}">View {{ message_count_label(1, notification.template.template_type, suffix='') }}</a>
|
||||
<a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.view_notification', service_id=current_service.id, notification_id=notification.id) }}">View {{ message_count_label(1, notification.template.template_type, suffix='') }}</a>
|
||||
{% endif %}
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
{% endcall %}
|
||||
{% else %}
|
||||
{% call field(align='right', status='error') %}
|
||||
<a href='{{ url_for('.revoke_api_key', service_id=current_service.id, key_id=item.id) }}'>Revoke</a>
|
||||
<a class="govuk-link govuk-link--no-visited-state" href='{{ url_for('.revoke_api_key', service_id=current_service.id, key_id=item.id) }}'>Revoke</a>
|
||||
{% endcall %}
|
||||
{% endif %}
|
||||
{% endcall %}
|
||||
|
||||
@@ -22,12 +22,12 @@
|
||||
<ul>
|
||||
{% if form.email_addresses.errors %}
|
||||
<li>
|
||||
<a href="#{{ form.email_addresses.name }}">Enter valid email addresses</a>
|
||||
<a class="govuk-link govuk-link--no-visited-state" href="#{{ form.email_addresses.name }}">Enter valid email addresses</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if form.phone_numbers.errors %}
|
||||
<li>
|
||||
<a href="#{{ form.phone_numbers.name }}">Enter valid phone numbers</a>
|
||||
<a class="govuk-link govuk-link--no-visited-state" href="#{{ form.phone_numbers.name }}">Enter valid phone numbers</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
<p>
|
||||
You and members of
|
||||
<a href="{{ url_for('main.manage_users', service_id=current_service.id) }}">your team</a>
|
||||
<a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('main.manage_users', service_id=current_service.id) }}">your team</a>
|
||||
are included in the whitelist automatically.
|
||||
</p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user