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:50:25 +01:00
parent a5e8de202a
commit 2d2e701e22
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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>
+1 -1
View File
@@ -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>