From a20643b2cc12c420ada7de9fadc15bb677c8b80c Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 29 May 2017 14:55:06 +0200 Subject: Display edition/deletion links only for connected users. --- src/web/templates/bookmarks.html | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/web/templates/bookmarks.html b/src/web/templates/bookmarks.html index ee93253c..6e79bed2 100644 --- a/src/web/templates/bookmarks.html +++ b/src/web/templates/bookmarks.html @@ -6,10 +6,12 @@ {{ pagination.info }}
- all ⸱  - private ⸱  - public ⸱  - unread + {% if current_user.is_authenticated %} + all ⸱  + private ⸱  + public ⸱  + unread + {% endif %}
{{ pagination.links }} @@ -24,8 +26,10 @@
{{ bookmark.description }}
{{ " ".join(bookmark.tags_proxy) }}
{{ bookmark.time }} - edit - delete + {% if current_user.is_authenticated %} + edit + delete + {% endif %}

-- cgit