summaryrefslogtreecommitdiff
path: root/coip/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'coip/extensions')
-rw-r--r--coip/extensions/templatetags/permdisplay.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/coip/extensions/templatetags/permdisplay.py b/coip/extensions/templatetags/permdisplay.py
index 364544e..23e6ed3 100644
--- a/coip/extensions/templatetags/permdisplay.py
+++ b/coip/extensions/templatetags/permdisplay.py
@@ -12,7 +12,8 @@ perms = {'r':'read',
'w':'write',
'd':'delete',
'i':'manage members',
- 'l':'list members'}
+ 'l':'list members',
+ 'a':'manage rights'}
def permdisplay(perm):
if perm:
@@ -32,7 +33,7 @@ def acldstdisplay(dst):
else:
return "Unknown user \"%s\"" % username
else:
- return "Members of <a tip=\"%s\" href=\"/name/%d\">%s</a>" % (dst.display,dst.id,dst.short)
+ return "Members of <a class=\"tip\" title=\"%s\" href=\"/name/id/%d\">%s</a>" % (dst.display,dst.id,dst.short)
acldstdisplay.is_safe = True