mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Revert "Convert all links to govuk frontend"
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 class="govuk-link govuk-link--no-visited-state" href="{{ url_for('main.documentation') }}">API documentation</a> for more information.
|
||||
Read the Callbacks section of our <a 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 class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.callbacks') }}"> callback documentation </a> for more information.
|
||||
Check the <a 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="govuk-link govuk-link--no-visited-state pill-separate-item" href="{{ url_for('.api_keys', service_id=current_service.id) }}">API keys</a>
|
||||
<a class="pill-separate-item" href="{{ url_for('.api_keys', service_id=current_service.id) }}">API keys</a>
|
||||
</div>
|
||||
<div class="column-one-third">
|
||||
<a class="govuk-link govuk-link--no-visited-state pill-separate-item" href="{{ url_for('.whitelist', service_id=current_service.id) }}">Whitelist</a>
|
||||
<a class="pill-separate-item" href="{{ url_for('.whitelist', service_id=current_service.id) }}">Whitelist</a>
|
||||
</div>
|
||||
<div class="column-one-third">
|
||||
<a class="govuk-link govuk-link--no-visited-state pill-separate-item" href="{{ url_for(callbacks_link, service_id=current_service.id) }}">Callbacks</a>
|
||||
<a class="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 class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.api_integration', service_id=current_service.id) }}">Refresh</a>
|
||||
<a 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="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>
|
||||
<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>
|
||||
{% endif %}
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
{% endcall %}
|
||||
{% else %}
|
||||
{% call field(align='right', status='error') %}
|
||||
<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>
|
||||
<a 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 class="govuk-link govuk-link--destructive" href="#{{ form.email_addresses.name }}">Enter valid email addresses</a>
|
||||
<a href="#{{ form.email_addresses.name }}">Enter valid email addresses</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if form.phone_numbers.errors %}
|
||||
<li>
|
||||
<a class="govuk-link govuk-link--destructive" href="#{{ form.phone_numbers.name }}">Enter valid phone numbers</a>
|
||||
<a href="#{{ form.phone_numbers.name }}">Enter valid phone numbers</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
<p>
|
||||
You and members of
|
||||
<a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('main.manage_users', service_id=current_service.id) }}">your team</a>
|
||||
<a 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