Module: check_mk
Branch: master
Commit: aeaebed8e00571aa6d7f7addfc44343f959b85b7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=aeaebed8e00571…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri May 5 10:45:37 2017 +0200
4606 Added context button to agent bakery to rulesets affecting the baked agents
Change-Id: I4ff65eaf6abd66b81b48bfe615ca17827c8da26b
---
.werks/4606 | 11 +++++++++++
web/htdocs/wato.py | 3 +++
2 files changed, 14 insertions(+)
diff --git a/.werks/4606 b/.werks/4606
new file mode 100644
index 0000000..ac0e6b4
--- /dev/null
+++ b/.werks/4606
@@ -0,0 +1,11 @@
+Title: Added context button to agent bakery to rulesets affecting the baked agents
+Level: 1
+Component: agents
+Class: feature
+Compatible: compat
+Edition: cee
+State: unknown
+Version: 1.5.0i1
+Date: 1493973915
+
+
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index c49df35..3aa7d14 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -12784,6 +12784,9 @@ class ModeEditRuleset(WatoMode):
("host", self._hostname),
("service", self._item)]),
"rulesets")
+ if has_agent_bakery():
+ agent_bakery_context_button(self._name)
+
def action(self):
rule_folder = Folder.folder(html.var("_folder",
html.var("folder")))