Module: check_mk
Branch: master
Commit: 75e90b91d3a8c7275bf551b304587f70351263b5
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=75e90b91d3a8c7…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Mar 14 10:43:45 2012 +0100
Contactgroup attribute star was shown regardles of the real state
---
web/htdocs/wato.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index cc8d2f0..3d8f160 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -3884,7 +3884,7 @@ class ContactGroupsAttribute(Attribute):
display_name = alias and alias or name
texts.append('<a
href="wato.py?mode=edit_contact_group&edit=%s">%s</a>' % (name,
display_name))
result = ", ".join(texts)
- if texts:
+ if texts and use:
result += "<span
title='%s'><b>*</b></span>" % \
_("These contact groups are also used in the monitoring
configuration.")
return "", result