Module: check_mk
Branch: master
Commit: d7714d9056bfae8f852f1770874424083ab13e76
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d7714d9056bfae…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Jun 11 16:12:29 2012 +0200
FIX: add missing context help to host details dialog
---
ChangeLog | 1 +
web/htdocs/wato.py | 10 +---------
2 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index a752071..dd8d452 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@
* Main menu of ruleeditor (Host & Service Parameters) now has
a topic for "Used rules" - a short overview of all non-empty
rulesets.
+ * FIX: add missing context help to host details dialog
1.2.0p1:
Core:
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index e144771..52184dc 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -4740,14 +4740,6 @@ def configure_attributes(hosts, for_what, parent, myself=None,
without_attribute
else: # "host"
active = attrname in host
- # Legend and Help
- # html.write('<tr id="attr_%s" %s><td
class=legend>' % (attrname, hide_attribute and 'style="display:
none"' or ""))
- # html.write("<b>%s</b>" % attr.title())
- # html.help(attr.help())
- # html.write("</td>")
-
-
- # html.write('<td class=checkbox>')
if force_entry:
checkbox_code = '<input type=checkbox name="ignored_%s"
CHECKED DISABLED>' % checkbox_name
checkbox_code += '<input type=hidden name="%s"
value="on">' % checkbox_name
@@ -4756,7 +4748,7 @@ def configure_attributes(hosts, for_what, parent, myself=None,
without_attribute
checkbox_code = '<input type=checkbox name="%s" %s
onclick="%s">' % (
checkbox_name, active and "CHECKED" or "",
onclick)
forms.section(attr.title(), checkbox=checkbox_code, id="attr_" +
attrname)
- # html.write("</td>")
+ html.help(attr.help())
# Now comes the input fields and the inherited / default values
# as two DIV elements, one of which is visible at one time.