mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-23 11:51:05 -05:00
Open links to documentation in new tabs
Because users have difficulty getting back to the Notify admin interface. The `rel` attribute mitigates against [a nasty cross-domain vulnerability](https://mathiasbynens.github.io/rel-noopener/).
This commit is contained in:
@@ -85,7 +85,7 @@
|
||||
<div class="column-one-third">
|
||||
<h2>Support</h2>
|
||||
<ul>
|
||||
<li><a href="https://status.notifications.service.gov.uk">System status</a></li>
|
||||
<li><a href="https://status.notifications.service.gov.uk">System status</a></li>
|
||||
<li><a href="{{ url_for('main.feedback') }}">Support and feedback</a></li>
|
||||
<li><a href="https://ukgovernmentdigital.slack.com/messages/govuk-notify">Chat with the Notify team</a></li>
|
||||
</ul>
|
||||
@@ -109,7 +109,7 @@
|
||||
('Python', 'https://github.com/alphagov/notifications-python-client'),
|
||||
('Ruby', 'https://github.com/alphagov/notifications-ruby-client')
|
||||
] %}
|
||||
<li><a href="{{ url }}">{{ language }} client</a></li>
|
||||
<li><a href="{{ url }}" target="_blank" rel="noopener noreferrer">{{ language }} client</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
('Ruby client', 'https://github.com/alphagov/notifications-ruby-client')
|
||||
] %}
|
||||
<li>
|
||||
<a href="{{ url }}">{{ name }}</a>
|
||||
<a href="{{ url }}" target="_blank" rel="noopener noreferrer">{{ name }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user