From 1ada1704b0ddd12bd6a9299671953df0196cc557 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 1 Oct 2017 18:42:35 +0200 Subject: [PATCH] excluded read/unread when exposing the catalog to an anonymous user --- cps/templates/index.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cps/templates/index.xml b/cps/templates/index.xml index 66e32a69..f0a6e2e0 100644 --- a/cps/templates/index.xml +++ b/cps/templates/index.xml @@ -34,6 +34,7 @@ {{url_for('feed_discover')}} {{_('Show Random Books')}} +{% if not current_user.is_anonymous() %} {{_('Read Books')}} @@ -46,6 +47,7 @@ {{url_for('feed_unread_books')}} {{_('Unread Books')}} +{% endif %} {{_('Authors')}}