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:
Chris Hill-Scott
2016-10-18 13:47:43 +01:00
parent a5e8de202a
commit 2d2e701e22
2 changed files with 3 additions and 3 deletions

View File

@@ -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>