From 33813da7ff53aad16347f5c2a4b5a081d8ea528e Mon Sep 17 00:00:00 2001 From: "pmoreno.rodriguez" <60596353+pmoreno-rodriguez@users.noreply.github.com> Date: Mon, 31 Oct 2022 11:43:24 +0100 Subject: [PATCH] Version 1.0.2 --- templates/macros/topmenu.html.twig | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/templates/macros/topmenu.html.twig b/templates/macros/topmenu.html.twig index a3aa674..e9930e5 100644 --- a/templates/macros/topmenu.html.twig +++ b/templates/macros/topmenu.html.twig @@ -4,22 +4,10 @@ {% set current_page = (p.active or p.activeChild) ? 'active' : '' %} {% if p.children.visible.count > 0 %}
  • - {% if p.routable == false %} {% if p.header.icon %}{% endif %} - {{ p.menu }} + {{ p.menu }}{% if p.routable == false %} {% endif %} - {% elseif p.routable != false and p.children.count > 0 %} - - {% if p.header.icon %}{% endif %} - {{ p.menu }} - - {% else %} - - {% if p.header.icon %}{% endif %} - {{ p.menu }} - - {% endif %} @@ -28,9 +16,9 @@
  • {% if p.header.icon %}{% endif %} - {{ p.menu }} + {{ p.menu }}
  • {% endif %} {% endfor %} -{% endmacro %} \ No newline at end of file +{% endmacro %}