From bbe7bd6579e5de8d46ac3e467b01ed0a6f3e07cb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Je=CC=81re=CC=81my=20Fabre?= Date: Tue, 20 Sep 2016 10:15:51 +0200 Subject: [PATCH] Add the summary links on the primary pages if the page has no children --- app/templates/pages/menus/current_tree_primary.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/templates/pages/menus/current_tree_primary.html b/app/templates/pages/menus/current_tree_primary.html index 9e503188..c3efe733 100644 --- a/app/templates/pages/menus/current_tree_primary.html +++ b/app/templates/pages/menus/current_tree_primary.html @@ -31,6 +31,11 @@ {% page_menu page %} {% endif %} + {% if page.is_current_or_ascendant and not page.has_children_in_menu%} + + {% endif %} {% endfor %} {% endif %} -- 2.39.5