From: Jérémy Fabre Date: Wed, 28 Sep 2016 08:38:30 +0000 (+0200) Subject: Add some conditions to secondary tree menu X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=fa42c8606d3a4ab2bd007446f65ff75020e30b0f;p=mezzo.git Add some conditions to secondary tree menu --- diff --git a/app/templates/pages/menus/current_tree_secondary.html b/app/templates/pages/menus/current_tree_secondary.html index 93ab4539..a0efef95 100644 --- a/app/templates/pages/menus/current_tree_secondary.html +++ b/app/templates/pages/menus/current_tree_secondary.html @@ -18,8 +18,7 @@ {% endif %} {% endif %} {% endfor %} - {% endif %} - {% if branch_level == 1 %} + {% elif branch_level == 1 %} {% for page in page_branch %} {% if page.is_current_or_ascendant and page.has_children_in_menu %}