Commit 0273d28b authored by Benni Mack's avatar Benni Mack
Browse files

Merge branch 'T3DEMO-267' into 'main'

[TASK] Make sure translated menus work as expected

See merge request !11
parents a8e673c4 0ffc2887
Pipeline #10148 passed with stages
in 6 minutes and 37 seconds
......@@ -35,7 +35,7 @@ languages:
-
title: German
enabled: true
languageId: '1'
languageId: 1
base: /de/
typo3Language: de
locale: de_DE.utf8
......
......@@ -31,9 +31,9 @@
<ul class="b_footernavi">
<f:for each="{footerMenu}" as="item">
<li class="b_footernavi__item">
<a href="{item.slug}" class="b_footernavi__link">
<f:link.typolink parameter="{item.uid}" class="b_footernavi__link">
{item.nav_title}
</a>
</f:link.typolink>
</li>
</f:for>
</ul>
......
......@@ -39,13 +39,13 @@
<ac:svg name="arrow-right" class="b_navi__icon b_navi__icon--after" />
</label>
</f:if>
<a href="{item.slug}" class="b_navi__link {f:if(condition: item.isInRootLine, then: 'b_navi__link--active')}">
<f:link.typolink parameter="{item.uid}" class="b_navi__link {f:if(condition: item.isInRootLine, then: 'b_navi__link--active')}">
<span>{item.nav_title}</span>
<f:if condition="{item.subpages}">
<ac:svg name="arrow-down" class="b_navi__icon b_navi__icon--after b_navi__icon--closed" />
<ac:svg name="arrow-up" class="b_navi__icon b_navi__icon--after b_navi__icon--opened" />
</f:if>
</a>
</f:link.typolink>
<f:if condition="{item.subpages}">
<div class="b_navi__submenu">
<ul class="b_navi__sublist b_navi__sublist--contentcontainer">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment