From e32b902bc3f3c75d2f72b1a22b06b680471f92bd Mon Sep 17 00:00:00 2001 From: Emilie Date: Mon, 7 Nov 2016 18:10:11 +0100 Subject: [PATCH] Menu with no children --- .../pages/menus/current_tree_primary.html | 96 ++++++++++--------- 1 file changed, 50 insertions(+), 46 deletions(-) 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 %} -