Module: check_mk
Branch: master
Commit: c4abd0324d5a3126d75d0396aa2a7c05411d04d4
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c4abd0324d5a31…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Apr 11 11:48:20 2013 +0200
Fix rule editor: only one folder was shown
---
web/htdocs/wato.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 7056e83..93a5f32 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -10063,6 +10063,8 @@ def mode_edit_ruleset(phase):
for rulenr in range(0, len(ruleset)):
folder, rule = ruleset[rulenr]
if folder != last_folder:
+ if last_folder != None:
+ table.end()
first_in_group = True
alias_path = get_folder_aliaspath(folder, show_main = False)
table.begin(title = "%s %s" % (_("Rules in folder"),
alias_path), css="ruleset")