Projet

Général

Profil

0006-template-remove-admin-as-location_hint-6726.patch

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

Télécharger (938 octets)

Voir les différences:

Subject: [PATCH 06/11] template: remove 'admin' as location_hint (#6726)

 wcs/qommon/template.py | 4 ----
 1 file changed, 4 deletions(-)
wcs/qommon/template.py
222 222
        import qommon.backoffice.menu
223 223
        error_html_top = qommon.backoffice.menu.html_top
224 224
        kwargs[str('section')]  = None
225
    elif location_hint == 'admin':
226
        import qommon.admin.menu
227
        error_html_top = qommon.admin.menu.html_top
228
        kwargs[str('section')]  = None
229 225
    else:
230 226
        error_html_top = html_top
231 227

  
232
-