From 8214842dc91a4f13467fd506421d6c342d66f013 Mon Sep 17 00:00:00 2001 From: Fabian Weisshaar Date: Fri, 28 Dec 2018 20:22:08 +0100 Subject: [PATCH] Add rel="noopener" to target="_blank" links --- nsupdate/main/templates/main/about.html | 2 +- nsupdate/templates/base.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nsupdate/main/templates/main/about.html b/nsupdate/main/templates/main/about.html index 9fd6bc3..22cea33 100644 --- a/nsupdate/main/templates/main/about.html +++ b/nsupdate/main/templates/main/about.html @@ -47,7 +47,7 @@ {% blocktrans trimmed %} Also, we have documentation — + title="Open docs in new window" target="_blank" rel="noopener">documentation — there might be some interesting stuff for you in it that is not visible or obvious on the user interface. {% endblocktrans %} diff --git a/nsupdate/templates/base.html b/nsupdate/templates/base.html index 2a77e09..ecbde37 100644 --- a/nsupdate/templates/base.html +++ b/nsupdate/templates/base.html @@ -52,7 +52,7 @@
  • {% trans "Documentation" %} + class="navbar-link" title="Open docs in new window" target="_blank" rel="noopener"> {% trans "Documentation" %}
  • - + _blac {% block header %}{% endblock %}