From 6f23971c2ae3b926c4714cbe5ae1fc7263d7133b Mon Sep 17 00:00:00 2001
From: Cédric Bonhomme <kimble.mandel@gmail.com>
Date: Tue, 22 Jan 2013 11:13:35 +0100
Subject: The management page indicates if e-mail notification is disabled.

---
 source/templates/management.html | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

(limited to 'source/templates')

diff --git a/source/templates/management.html b/source/templates/management.html
index b32f7b3b..4d709b0b 100644
--- a/source/templates/management.html
+++ b/source/templates/management.html
@@ -20,6 +20,13 @@
             </select>
             <input type="submit" value="OK">
         </form>
+    %endif
+
+    %if not mail_notification_enabled:
+        <p>E-mail notification is disabled in the configuration file.</p>
+    %endif
+
+    %if feeds:
         <hr />
         <h1>Facts</h1>
         <ul>
@@ -30,6 +37,10 @@
         </ul>
     %endif
 
+    %if not mail_notification_enabled:
+        <p>E-mail notification is disabled in the configuration file.</p>
+    %endif
+
     <hr />
 
     <h1>Account</h1>
@@ -69,4 +80,4 @@
         </select>
         <input type="submit" value="Export">
     </form>
-    </p>
\ No newline at end of file
+    </p>
-- 
cgit