diff --git a/cps/templates/detail.html b/cps/templates/detail.html index c230b069..4a9fa8fb 100644 --- a/cps/templates/detail.html +++ b/cps/templates/detail.html @@ -42,7 +42,7 @@ {% if g.user.kindle_mail and g.user.is_authenticated %} {{_('Send to Kindle')}} {% endif %} - {% if (g.user.role_download() and g.user.is_anonymous()) or g.user.is_authenticated %} + {% if (g.user.role_download() and g.user.is_anonymous) or g.user.is_authenticated %}
diff --git a/cps/templates/index.xml b/cps/templates/index.xml
index f0a6e2e0..99358941 100644
--- a/cps/templates/index.xml
+++ b/cps/templates/index.xml
@@ -34,7 +34,7 @@