Module: check_mk
Branch: master
Commit: a210fdca5aaa53c0bab2c802745ffbf3281286c0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a210fdca5aaa53…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Sep 11 18:45:23 2018 +0200
Add missing context button link from views/dashboards to custom snapins list page
Change-Id: Ieb73294c97ca425efce2d0cebb29bf20e4fd7c09
---
cmk/gui/visuals.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cmk/gui/visuals.py b/cmk/gui/visuals.py
index de060b2..ce1688a 100644
--- a/cmk/gui/visuals.py
+++ b/cmk/gui/visuals.py
@@ -377,6 +377,8 @@ def page_list(what, title, visuals, custom_columns = None,
html.context_button(_("Graph tunings"), "graph_tunings.py",
"graph_tuning")
if pagetypes.has_page_type("sla_configuration"):
html.context_button(_("SLAs"), "sla_configurations.py",
"sla_configuration")
+ if pagetypes.has_page_type("custom_snapin"):
+ html.context_button(_("Custom snapins"), "custom_snapins.py",
"custom_snapin")
html.context_button(_("Bookmark lists"), "bookmark_lists.py",
"bookmark_list")
html.end_context_buttons()