From 2d2e701e227cbf7a5fac739366882db9eb059cde Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Tue, 18 Oct 2016 13:47:43 +0100 Subject: [PATCH] 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/). --- app/templates/admin_template.html | 4 ++-- app/templates/views/api/documentation.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/templates/admin_template.html b/app/templates/admin_template.html index a5eab42ef..ccd638ccf 100644 --- a/app/templates/admin_template.html +++ b/app/templates/admin_template.html @@ -85,7 +85,7 @@

Support

@@ -109,7 +109,7 @@ ('Python', 'https://github.com/alphagov/notifications-python-client'), ('Ruby', 'https://github.com/alphagov/notifications-ruby-client') ] %} -
  • {{ language }} client
  • +
  • {{ language }} client
  • {% endfor %}
    diff --git a/app/templates/views/api/documentation.html b/app/templates/views/api/documentation.html index 44460340c..008348553 100644 --- a/app/templates/views/api/documentation.html +++ b/app/templates/views/api/documentation.html @@ -22,7 +22,7 @@ ('Ruby client', 'https://github.com/alphagov/notifications-ruby-client') ] %}
  • - {{ name }} + {{ name }}
  • {% endfor %}