From: Emilie Date: Tue, 5 Jul 2016 13:36:53 +0000 (+0200) Subject: Adding tree menu : action / header / footer X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=483d006a22bf5e3022cb6552812ecc1a867c2306;p=mezzo.git Adding tree menu : action / header / footer --- diff --git a/app/settings.py b/app/settings.py index 07a1896b..778bc3d5 100644 --- a/app/settings.py +++ b/app/settings.py @@ -42,9 +42,9 @@ from django.utils.translation import ugettext_lazy as _ # that doesn't appear in this setting, all pages will appear in it. PAGE_MENU_TEMPLATES = ( - (1, _("Top header"), "pages/menus/header.html"), - (2, _("Top navigation bar"), "pages/menus/dropdown.html"), - (3, _("Footer"), "pages/menus/footer.html"), + (1, _("Action"), "pages/menus/action.html"), + (2, _("Departement"), "pages/menus/header.html"), + (3, _("Footer"), "pages/menus/footer.html") ) # A sequence of fields that will be injected into Mezzanine's (or any @@ -224,7 +224,7 @@ INSTALLED_APPS = [ "meta", "mezzanine_agenda", "festival", - "organization", + "organization" ] diff --git a/app/templates/base.html b/app/templates/base.html index 371a4d8d..1cf860e8 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -47,6 +47,8 @@ + {% page_menu "pages/menus/action.html" %} + {% if settings.SITE_TAGLINE %}

{{ settings.SITE_TAGLINE }}

{% endif %} @@ -55,7 +57,7 @@