aboutsummaryrefslogtreecommitdiff
path: root/source/static/templates/notifications.html
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-03-15 08:20:00 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-03-15 08:20:00 +0100
commit9a6fe2bf696c4c364518159735f4f5d12c666681 (patch)
treec540d7d1cf76542627673ef36490c641bb02f50f /source/static/templates/notifications.html
parentUpdated revision date (diff)
downloadnewspipe-9a6fe2bf696c4c364518159735f4f5d12c666681.tar.gz
newspipe-9a6fe2bf696c4c364518159735f4f5d12c666681.tar.bz2
newspipe-9a6fe2bf696c4c364518159735f4f5d12c666681.zip
Reaorganization of folders for the CSS, templates and pictures.
Diffstat (limited to 'source/static/templates/notifications.html')
-rw-r--r--source/static/templates/notifications.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/source/static/templates/notifications.html b/source/static/templates/notifications.html
new file mode 100644
index 00000000..88558b05
--- /dev/null
+++ b/source/static/templates/notifications.html
@@ -0,0 +1,18 @@
+## article.html
+<%inherit file="base.html"/>
+<div class="left inner">
+ %if feeds != []:
+ <h1>You are receiving e-mails for the following feeds:</h1>
+ <ul>
+ %for feed in feeds:
+ <li><a href="/feed/${feed['feed_id']}">${feed['feed_title']}</a> - <a href="/mail_notification/0:${feed['feed_id']}">Stop</a></li>
+ %endfor
+ </ul>
+ %else:
+ <p>No active notifications.<p>
+ %endif
+ <p>Notifications are sent to: <a href="mail:${mail_to}">${mail_to}</a>.
+ %if not mail_notification_enabled:
+ However e-mail notification is disabled in the configuration file.
+ %endif
+ </p>
bgstack15