mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
Merge pull request #3302 from alphagov/guidance-simplify-numbered-lists
Guidance simplify numbered lists
This commit is contained in:
7
app/templates/components/current-service-link.html
Normal file
7
app/templates/components/current-service-link.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{% macro current_service_link(endpoint, link_text) %}
|
||||
{% if current_service %}
|
||||
<a class="govuk-link" href="{{ url_for(endpoint, service_id=current_service.id) }}">{{ link_text }}</a>
|
||||
{% else %}
|
||||
<b class="govuk-!-font-weight-bold">{{ link_text|capitalize }}</b>
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
Reference in New Issue
Block a user