From: Michael Tremer Date: Thu, 30 May 2019 15:19:56 +0000 (+0100) Subject: wiki: Show empty indicator for watchlist X-Git-Url: http://git.ipfire.org/?p=ipfire.org.git;a=commitdiff_plain;h=da9b37dfa3b55b471347ffe8b6a9440b3abc4d81 wiki: Show empty indicator for watchlist Signed-off-by: Michael Tremer --- diff --git a/src/templates/wiki/watchlist.html b/src/templates/wiki/watchlist.html index a8f0ada4..2234fecb 100644 --- a/src/templates/wiki/watchlist.html +++ b/src/templates/wiki/watchlist.html @@ -15,7 +15,13 @@
{{ _("Your Watchlist") }}
- {% module WikiList(pages) %} + {% if pages %} + {% module WikiList(pages) %} + {% else %} +
+ {{ _("You do not have any pages on your watchlist") }} +
+ {% end %}
{% end block %}