diff options
author | Leif Johansson <leifj@sunet.se> | 2011-02-22 14:51:40 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-02-22 14:51:40 +0100 |
commit | 3590b6d57da21772bc03657058b5f973e7cd0863 (patch) | |
tree | c6674d213db58423d7b77bcb46f6d20f399e09e4 /coip/extensions | |
parent | d91761250f08760375278b4a91d9ab3904e2d089 (diff) |
the a bit
Diffstat (limited to 'coip/extensions')
-rw-r--r-- | coip/extensions/templatetags/permdisplay.py | 5 |
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 |