Module: check_mk
Branch: master
Commit: 0765ce70cb06022694832cc790b934e2694db469
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0765ce70cb0602…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Sep 29 12:15:54 2016 +0200
Another small failed notification styling cleanup
---
web/htdocs/notifications.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/notifications.py b/web/htdocs/notifications.py
index a84fedd..7147ae3 100644
--- a/web/htdocs/notifications.py
+++ b/web/htdocs/notifications.py
@@ -124,9 +124,9 @@ def render_notification_table(failed_notifications):
table.end()
+# TODO: We should really recode this to use the view and a normal view command / action
def render_page_confirm(acktime, prev_url, failed_notifications):
- html.set_render_headfoot(False)
- html.header(_("Confirm"), javascripts=[], stylesheets=[ "pages",
"check_mk" ])
+ html.header(_("Confirm failed notifications"), javascripts=[],
stylesheets=[ "pages", "check_mk" ])
html.write('<div class="really">\n')
html.write(_("Do you really want to acknowledge all failed notifications up to
%s?") %\
lib.datetime_human_readable(acktime))
@@ -140,6 +140,7 @@ def render_page_confirm(acktime, prev_url, failed_notifications):
html.footer()
+# TODO: We should really recode this to use the view and a normal view command / action
def render_page_done():
html.set_render_headfoot(False)
html.header(_("Confirm"), javascripts=[], stylesheets=[ "pages",
"check_mk" ])