Skip to content

Commit

Permalink
PP-11534 Link to Notify service
Browse files Browse the repository at this point in the history
Make the Notify service ID a link to the service in Notify
  • Loading branch information
stephencdaly committed Dec 18, 2023
1 parent 080c70d commit cb1bdba
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/web/modules/gateway_accounts/detail.njk
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,12 @@
<dl class="govuk-summary-list">
<div class="govuk-summary-list__row">
<dt class="govuk-summary-list__key"><span class="govuk-caption-m">Notify service ID</span></dt>
<dd class="govuk-summary-list__value">{{ account.notifySettings.service_id or "(Not set)" }}</dd>
<dd class="govuk-summary-list__value">
{% if account.notifySettings.service_id %}
<a class="govuk-link govuk-link--no-visited-state" href="https://www.notifications.service.gov.uk/services/{{ account.notifySettings.service_id }}">{{ account.notifySettings.service_id }}</a>
{% else %}
(Not set)
{% endif %}</dd>
<dd class="govuk-summary-list__actions">
<a class="govuk-link govuk-link--no-visited-state" href="/gateway_accounts/{{ gatewayAccountId }}/email_branding">Change<span class="govuk-visually-hidden"> Notify service ID</span></a>
</dd>
Expand Down

0 comments on commit cb1bdba

Please sign in to comment.