myspace: remove link to admin/ (#6726)
This commit is contained in:
parent
22aa4baf66
commit
95be42a974
|
@ -63,8 +63,6 @@ class MyspaceDirectory(Directory):
|
|||
root_url = get_publisher().get_root_url()
|
||||
r += htmltext('<p id="profile-links">')
|
||||
r += htmltext('<a href="%sbackoffice/">%s</a>') % (root_url, _('back office'))
|
||||
if user.can_go_in_admin():
|
||||
r += htmltext(' - <a href="%sadmin/">%s</a>') % (root_url, _('admin'))
|
||||
r += htmltext('</p>')
|
||||
|
||||
ident_methods = get_cfg('identification', {}).get('methods', ['idp']) or []
|
||||
|
|
Loading…
Reference in New Issue