0005-myspace-remove-link-to-admin-6726.patch
wcs/qommon/myspace.py | ||
---|---|---|
63 | 63 |
root_url = get_publisher().get_root_url() |
64 | 64 |
r += htmltext('<p id="profile-links">') |
65 | 65 |
r += htmltext('<a href="%sbackoffice/">%s</a>') % (root_url, _('back office')) |
66 |
if user.can_go_in_admin(): |
|
67 |
r += htmltext(' - <a href="%sadmin/">%s</a>') % (root_url, _('admin')) |
|
68 | 66 |
r += htmltext('</p>') |
69 | 67 | |
70 | 68 |
ident_methods = get_cfg('identification', {}).get('methods', ['idp']) or [] |
71 |
- |