mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 10:28:41 -04: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:
@@ -109,7 +109,7 @@
|
|||||||
('Python', 'https://github.com/alphagov/notifications-python-client'),
|
('Python', 'https://github.com/alphagov/notifications-python-client'),
|
||||||
('Ruby', 'https://github.com/alphagov/notifications-ruby-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 %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
('Ruby client', 'https://github.com/alphagov/notifications-ruby-client')
|
('Ruby client', 'https://github.com/alphagov/notifications-ruby-client')
|
||||||
] %}
|
] %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ url }}">{{ name }}</a>
|
<a href="{{ url }}" target="_blank" rel="noopener noreferrer">{{ name }}</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user