Module: check_mk
Branch: master
Commit: 8526b1515652811fe71b7ad39804207d4222f101
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8526b151565281…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue May 9 13:34:48 2017 +0200
4667 FIX Cluster edit page: Removed useless "network scan" properties
Change-Id: Ibac7469a1b924b1040db1fe8355120434c04267d
---
.werks/4667 | 11 +++++++++++
web/htdocs/watolib.py | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/4667 b/.werks/4667
new file mode 100644
index 0000000..a9a7a05
--- /dev/null
+++ b/.werks/4667
@@ -0,0 +1,11 @@
+Title: Cluster edit page: Removed useless "network scan" properties
+Level: 1
+Component: wato
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.5.0i1
+Date: 1494329668
+
+
diff --git a/web/htdocs/watolib.py b/web/htdocs/watolib.py
index db5e09a..1131060 100644
--- a/web/htdocs/watolib.py
+++ b/web/htdocs/watolib.py
@@ -2637,7 +2637,7 @@ class Attribute:
# Gets the type of current view as argument and returns whether or not
# this attribute is shown in this type of view
def is_visible(self, for_what):
- if for_what in [ "host", "bulk" ] and not
self.show_in_form():
+ if for_what in [ "host", "cluster", "bulk" ] and
not self.show_in_form():
return False
elif for_what == "folder" and not self.show_in_folder():
return False