From 3048de04e8377d4fdec1e58db3180299950bf9bc Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sun, 3 Nov 2019 10:21:11 +0100 Subject: [PATCH] Fix the display sensitive button --- templates/utils.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/templates/utils.html b/templates/utils.html index b0bf6d9..11e4234 100644 --- a/templates/utils.html +++ b/templates/utils.html @@ -222,9 +222,9 @@
-{% if request.path == url_for("admin.admin_lookup") %} - -{% endif %} +{% for k, v in request.args.items() %} + +{% endfor %}
@@ -233,9 +233,11 @@ {% if obj.sensitive %}
-{% if request.path == url_for("admin.admin_lookup") %} - +{% for k, v in request.args.items() %} +{% if k != "show_sensitive" %} + {% endif %} +{% endfor %}