From 44d3ab8d7070317241f0348edcf57fb4c3b044ca Mon Sep 17 00:00:00 2001 From: John Nduli Date: Tue, 10 Sep 2024 15:38:15 +0300 Subject: feat: hide edit button if user isnt logged in --- gn2/wqflask/templates/wiki/genewiki.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gn2/wqflask/templates') diff --git a/gn2/wqflask/templates/wiki/genewiki.html b/gn2/wqflask/templates/wiki/genewiki.html index 36aa41c1..f0d6675f 100644 --- a/gn2/wqflask/templates/wiki/genewiki.html +++ b/gn2/wqflask/templates/wiki/genewiki.html @@ -11,7 +11,9 @@
GeneNetwork:
+ {% if wiki %} +
    {% for entry in wiki %}
  1. @@ -23,12 +25,16 @@ web {% endif %} + + {% if is_logged_in %} + {% endif %} [history] +
  2. {% endfor %}
-- cgit v1.2.3