Projet

Général

Profil

0005-myspace-remove-link-to-admin-6726.patch

Frédéric Péters, 22 avril 2015 12:31

Télécharger (974 octets)

Voir les différences:

Subject: [PATCH 05/11] myspace: remove link to admin/ (#6726)

 wcs/qommon/myspace.py | 2 --
 1 file changed, 2 deletions(-)
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
-