diff --git a/re2o/context_processors.py b/re2o/context_processors.py index 739f4ab8..ad7194cf 100644 --- a/re2o/context_processors.py +++ b/re2o/context_processors.py @@ -62,7 +62,7 @@ def context_optionnal_apps(request): """Fonction de context pour générer la navbar en fonction des apps optionnels""" optionnal_apps = [import_module(app) for app in OPTIONNAL_APPS] - optionnal_templates_navbar_list = [app.views.navbar(request) for app in optionnal_apps] + optionnal_templates_navbar_list = [app.views.navbar_user(request) for app in optionnal_apps] return {'optionnal_templates_navbar_list':optionnal_templates_navbar_list} diff --git a/tickets/templates/tickets/navbar.html b/tickets/templates/tickets/navbar.html new file mode 100644 index 00000000..3c4318f7 --- /dev/null +++ b/tickets/templates/tickets/navbar.html @@ -0,0 +1,2 @@ +{% load i18n %} +