From 4ce81c3c92a4d2f829fff08d6468530aa8d886ad Mon Sep 17 00:00:00 2001
From: Tim White
Date: Tue, 31 Mar 2020 07:50:48 -0600
Subject: [PATCH] Adding noopener and noreferrer to target="_blank" links on
sample templates.
---
setup.py | 2 +-
.../templates/termsandconditions/tc_accept_terms.html | 6 ++++--
.../templates/termsandconditions/tc_view_terms.html | 2 +-
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/setup.py b/setup.py
index 0ef19a5f..40d96b83 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@
setup(
name="django-termsandconditions",
- version="2.0.5",
+ version="2.0.6",
url="https://github.com/cyface/django-termsandconditions",
license="BSD",
description="django-termsandconditions is a Django app that enables users to accept terms and conditions of a site.",
diff --git a/termsandconditions/templates/termsandconditions/tc_accept_terms.html b/termsandconditions/templates/termsandconditions/tc_accept_terms.html
index d2e66678..254dafb5 100644
--- a/termsandconditions/templates/termsandconditions/tc_accept_terms.html
+++ b/termsandconditions/templates/termsandconditions/tc_accept_terms.html
@@ -27,8 +27,10 @@ {% trans 'Full Text' %}
- {% trans 'Print' %} {{ terms.name|safe }}
+
+ {% trans 'Print' %} {{ terms.name|safe }}
+
{% endfor %}
{% else %}
No terms defined.
{% endif %}