From 5e4c8c6c65fc8d4bbe09dd39eb805d9d63112cd7 Mon Sep 17 00:00:00 2001 From: Cory Sitko Date: Tue, 10 Oct 2017 20:48:50 -0400 Subject: [PATCH] fixed is_authenticated check --- cps/templates/shelf.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/templates/shelf.html b/cps/templates/shelf.html index c6c11734..aaecdf9c 100644 --- a/cps/templates/shelf.html +++ b/cps/templates/shelf.html @@ -2,7 +2,7 @@ {% block body %}

{{title}}

- {% if g.user.is_authenticated() %} + {% if g.user.is_authenticated %} {% if (g.user.role_edit_shelfs() and shelf.is_public ) or not shelf.is_public %}
{{ _('Delete this Shelf') }}
{{ _('Edit Shelf name') }}