aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates
diff options
context:
space:
mode:
authorJohn Nduli2024-09-16 11:28:44 +0300
committerBonfaceKilz2024-09-17 11:40:42 +0300
commit02b2ac384953f2d69479a1ea53a071043394b590 (patch)
treef3d6f48e26f3544f1f35ccd9b95556d8ea314e21 /gn2/wqflask/templates
parent44d3ab8d7070317241f0348edcf57fb4c3b044ca (diff)
downloadgenenetwork2-02b2ac384953f2d69479a1ea53a071043394b590.tar.gz
fix: ui redesign with history button and ignore default web_url value
Diffstat (limited to 'gn2/wqflask/templates')
-rw-r--r--gn2/wqflask/templates/wiki/genewiki.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/gn2/wqflask/templates/wiki/genewiki.html b/gn2/wqflask/templates/wiki/genewiki.html
index f0d6675f..b07e86e0 100644
--- a/gn2/wqflask/templates/wiki/genewiki.html
+++ b/gn2/wqflask/templates/wiki/genewiki.html
@@ -26,14 +26,14 @@
{% endif %}
</div>
- {% if is_logged_in %}
<div class="col-sm-2">
+ {% if is_logged_in %}
<a href="{{ url_for('edit_wiki', comment_id=entry['id']) }}">
<span class="glyphicon glyphicon-edit" aria-hidden="true"></span>
</a>
+ {% endif %}
+ <sup><small>[<a href="/genewiki/{{ entry.id }}/history" target="_blank">history</a>]</small></sup>
</div>
- {% endif %}
- <sup><small>[<a href="/genewiki/{{ entry.id }}/history" target="_blank">history</a>]</small></sup>
</div>
</li>
{% endfor %}