From: Emilie Date: Mon, 7 Nov 2016 17:10:11 +0000 (+0100) Subject: Menu with no children X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=e32b902bc3f3c75d2f72b1a22b06b680471f92bd;p=mezzo.git Menu with no children --- diff --git a/app/templates/pages/menus/current_tree_primary.html b/app/templates/pages/menus/current_tree_primary.html index 7ebe41c5..3bddf3df 100644 --- a/app/templates/pages/menus/current_tree_primary.html +++ b/app/templates/pages/menus/current_tree_primary.html @@ -2,54 +2,58 @@ {% spaceless %} {% if page_branch_in_menu %} - {% if branch_level == 0 %} - {% for page in page_branch %} - {% if page.in_menu and page.has_children_in_menu %} - {% if page.is_primary and page.is_current_or_ascendant %} -