From ea91e4f97d3cd357bed3fb70400f9aa0720954bc Mon Sep 17 00:00:00 2001 From: Kathrin Osswald Date: Mon, 5 Feb 2018 09:31:03 +0100 Subject: [PATCH] MDL-61343 theme Boost: Harmonise the structure of flat navigation. --- .../boost/templates/flat_navigation.mustache | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/theme/boost/templates/flat_navigation.mustache b/theme/boost/templates/flat_navigation.mustache index 88d133836ad..0ce8ca962b8 100644 --- a/theme/boost/templates/flat_navigation.mustache +++ b/theme/boost/templates/flat_navigation.mustache @@ -64,27 +64,28 @@ {{#action}}
+
{{#is_section}} -
- - {{#pix}}i/folder{{/pix}} - - {{{text}}} -
- {{/is_section}} - {{^is_section}} - {{{text}}} + + {{#pix}}i/folder{{/pix}} + {{/is_section}} + {{{text}}} +
{{/action}} {{^action}}
+
{{#is_section}} - {{#pix}}i/folder{{/pix}} + + {{#pix}}i/folder{{/pix}} + {{/is_section}} - {{{text}}} + {{{text}}} +
{{/action}}