Module: check_mk
Branch: master
Commit: 026cfcead42f788b746b18a9776b583e9320abbf
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=026cfcead42f78…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Jan 19 16:35:27 2012 +0100
Added links to contactgroups in the host/folder permissions columns
---
.bugs/590 | 7 +++++--
web/htdocs/wato.py | 3 ++-
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/.bugs/590 b/.bugs/590
index 4152af7..061d98f 100644
--- a/.bugs/590
+++ b/.bugs/590
@@ -1,8 +1,11 @@
Title: WATO: factory reset nicht erreichbar bei defekter hosts.mk
Component: wato
-State: open
+Class: bug
+State: done
Date: 2012-01-12 12:20:44
Targetversion: 1.2.0
-Class: bug
Man kommt nicht ins Backup/Restore, wenn beim Einlesen der hosts.mk ein Fehler auftritt
+
+2012-01-19 16:19:32: changed state open -> done
+Has just been implemented
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 3c9f5bb..e177317 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -3648,7 +3648,8 @@ class ContactGroupsAttribute(Attribute):
items.sort(cmp = lambda a,b: cmp(a[1], b[1]))
for name, alias in items:
if name in cgs:
- texts.append(alias and alias or name)
+ 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:
result += "<span
title='%s'><b>*</b></span>" % \