aboutsummaryrefslogtreecommitdiff
path: root/source/templates/feed.html
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-01-22 09:06:28 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-01-22 09:06:28 +0100
commitf1fc099e34cdaf68b872ff1116e8f92c58a81c5e (patch)
tree782c59c9c9155faa6714d899e8ba44cac91b3826 /source/templates/feed.html
parentTypo... (diff)
downloadnewspipe-f1fc099e34cdaf68b872ff1116e8f92c58a81c5e.tar.gz
newspipe-f1fc099e34cdaf68b872ff1116e8f92c58a81c5e.tar.bz2
newspipe-f1fc099e34cdaf68b872ff1116e8f92c58a81c5e.zip
The /feed page now indicates if e-mail notification is activated in the pyAggr3g470r configuration file.
Diffstat (limited to 'source/templates/feed.html')
-rw-r--r--source/templates/feed.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/source/templates/feed.html b/source/templates/feed.html
index ebe4b2fa..f4079cc0 100644
--- a/source/templates/feed.html
+++ b/source/templates/feed.html
@@ -16,8 +16,13 @@ import utils
%endif
%if feed["mail"] == True:
- <p>You are receiving articles from this feed to the address: <a href="mail:${mail_to}">${mail_to}</a>.
- <a href="/mail_notification/0:${feed['feed_id']}">Stop</a> receiving articles from this feed.</p>
+ <p>
+ You are receiving articles from this feed to the address: <a href="mail:${mail_to}">${mail_to}</a>.
+ <a href="/mail_notification/0:${feed['feed_id']}">Stop</a> receiving articles from this feed.
+ %if not mail_notification_enabled:
+ <br />But e-mail notification is not enabled in your configuration file!
+ %endif
+ </p>
%endif
%if articles != []:
bgstack15