mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 17:38:50 -04:00
Add Design System class to remove visited state from links
Co-Authored-By: Tom Byers <tombaromba@gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{% macro service_link(service, endpoint, link_text) %}
|
||||
{% if service %}
|
||||
<a class="govuk-link" href="{{ url_for(endpoint, service_id=service.id) }}">{{ link_text }}</a>
|
||||
<a class="govuk-link govuk-link--no-visited-state" href="{{ url_for(endpoint, service_id=service.id) }}">{{ link_text }}</a>
|
||||
{% else %}
|
||||
<b class="govuk-!-font-weight-bold">{{ link_text|capitalize }}</b>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user