Module: check_mk
Branch: master
Commit: 7de54a69b2f14e62016aa1483e651348563930e1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7de54a69b2f14e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Jan 18 15:30:57 2012 +0100
Showing group aliases only in group selection dialog
---
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 4cd5732..08cd83a 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -4772,7 +4772,7 @@ class GroupSelection(ElementSelection):
all_groups = load_group_information()
this_group = all_groups.get(self._what, {})
# replace the title with the key if the title is empty
- return dict([ (k, t and ("%s - %s" % (k,t)) or k) for (k, t) in
this_group.items() ])
+ return dict([ (k, t and t or k) for (k, t) in this_group.items() ])
class CheckTypeGroupSelection(ElementSelection):