mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-03 23:51:22 -04:00
Don’t allow unstyled links
They should always be styled with the `govuk-link` class from GOV.UK Frontend, or another custom class.
This commit is contained in:
@@ -93,7 +93,7 @@ def create_api_key(service_id):
|
||||
disabled_options = [KEY_TYPE_NORMAL]
|
||||
option_hints[KEY_TYPE_NORMAL] = Markup(
|
||||
'Not available because your service is in '
|
||||
'<a href="/features/trial-mode">trial mode</a>'
|
||||
'<a class="govuk-link govuk-link--no-visited-state" href="/features/trial-mode">trial mode</a>'
|
||||
)
|
||||
if current_service.has_permission('letter'):
|
||||
option_hints[KEY_TYPE_TEAM] = 'Cannot be used to send letters'
|
||||
|
||||
Reference in New Issue
Block a user