mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-23 01:19:27 -04:00
- Deleted /stylesheets folder - Removed sass build from gulpfile - Changed gov links to usa links - Changed other govuk styles, like breadcrumbs - Changed name of uk_components file to us_components - Fixed a few tests that broke on account of the changes
8 lines
285 B
HTML
8 lines
285 B
HTML
{% macro service_link(service, endpoint, link_text) %}
|
|
{% if service %}
|
|
<a class="usa-link" href="{{ url_for(endpoint, service_id=service.id) }}">{{ link_text }}</a>
|
|
{% else %}
|
|
<b class="govuk-!-font-weight-bold">{{ link_text|capitalize }}</b>
|
|
{% endif %}
|
|
{% endmacro %}
|