Module: check_mk
Branch: master
Commit: 42d879faa135dccf58e7018b4a790617fa78d544
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=42d879faa135dc…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Dec 25 11:46:54 2012 +0100
Fix message about no assigned contact groups
---
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 f8e0342..aa84a62 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -8135,7 +8135,7 @@ def mode_edit_user(phase):
html.hidden_field("cg_" + gid, is_member and '1' or
'')
- if not is_member_of_at_least_one:
+ if is_locked('contactgroups') and not is_member_of_at_least_one:
html.write('<i>%s</i>' % _('No contact groups
assigned.'))
html.help(_("Contact groups are used to assign monitoring "