Module: check_mk
Branch: master
Commit: 2f2b6887456e242b542e861e3763293e8f35e393
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2f2b6887456e24…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Oct 12 18:29:41 2015 +0200
Link to check man page in WATO service list moved from icon to check plugin name
---
web/htdocs/wato.py | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 8ee74bf..451ede8 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -3676,8 +3676,13 @@ def show_service_table(host, firsttime):
table.row(css="data", state=state)
# Status, Checktype, Item, Description, Check Output
+ if check_source == "active":
+ ctype = "check_" + ct
+ else:
+ ctype = ct
+ manpage_url = make_link([("mode", "check_manpage"),
("check_type", ctype)])
table.cell(_("Status"), statename, css=stateclass)
- table.cell(_("Checkplugin"), ct)
+ table.cell(_("Checkplugin"), '<a
href="%s">%s</a>' % (manpage_url, ctype))
table.cell(_("Item"), item)
table.cell(_("Service Description"), html.attrencode(descr))
table.cell(_("Plugin output"))
@@ -3732,13 +3737,6 @@ def show_service_table(host, firsttime):
("item", mk_repr(item))])
html.icon_button(url, _("Edit and analyze the check parameters of
this service"), "check_parameters")
- if check_source == "active":
- ctype = "check_" + ct
- else:
- ctype = ct
- manpage_url = make_link([("mode", "check_manpage"),
("check_type", ctype)])
- html.icon_button(manpage_url, _("View the manual page of the check
plugin"), "check_plugins")
-
if check_source == "ignored" and
may_edit_ruleset("ignored_services"):
url = make_link([("mode", "edit_ruleset"),
("varname", "ignored_services"),