Module: check_mk
Branch: master
Commit: 9c9eb89225ff7455233fb8543c593c3b12e60708
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9c9eb89225ff74…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Jan 13 10:47:38 2016 +0100
WATO rework. fixed exception in parameter overview
---
web/htdocs/wato.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 3e42cfa..e2281ae 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -2196,12 +2196,12 @@ def mode_object_parameters(phase):
url = folder_preserving_link([
('mode', 'edit_rule'),
('varname', "custom_checks"),
- ('rule_folder', rule[0][".path"]),
+ ('rule_folder', rule[0].path()),
('rulenr', rel_nr),
('host', hostname)])
html.write('<table class=setting><tr><td
class=reason><a href="%s">%s %d %s %s</a></td>' % (
- url, _("Rule"), rel_nr + 1, _("in"),
rule[0]["title"]))
+ url, _("Rule"), rel_nr + 1, _("in"),
rule[0].title()))
html.write("<td class=settingvalue used>")
if "command_line" in serviceinfo:
html.write("<tt>%s</tt>" %
serviceinfo["command_line"])