apps: ajoute une entrée dans le menu du BO d'A2 (#24337)
This commit is contained in:
parent
98386538e2
commit
31bce51cad
|
@ -22,6 +22,8 @@ from django.conf import settings
|
|||
from django.db import router, DEFAULT_DB_ALIAS
|
||||
from django.utils.timezone import now
|
||||
|
||||
from django.core.urlresolvers import reverse_lazy
|
||||
|
||||
from authentic2.constants import AUTHENTICATION_EVENTS_SESSION_KEY
|
||||
|
||||
|
||||
|
@ -675,3 +677,9 @@ class AppConfig(django.apps.AppConfig):
|
|||
return u'connexion'
|
||||
else:
|
||||
return u'connexion how:%s' % how
|
||||
|
||||
def a2_hook_manager_homepage_entries(self, view):
|
||||
return {
|
||||
'label': 'Validation des comptes',
|
||||
'href': reverse_lazy('cut-manager-user-next-validation'),
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue