Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
demo.typo3.org
demo.typo3.org TYPO3 Installation
Commits
cc849ad7
Commit
cc849ad7
authored
Dec 07, 2020
by
Benni Mack
Browse files
Merge branch 'davidsteeb-main-patch-09711' into 'main'
[BUGFIX] Add translated submenu item links See merge request
!12
parents
0273d28b
3f51bb9f
Pipeline
#10151
passed with stages
in 6 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/extensions/site_t3demo/Resources/Private/Pages/Partials/Header.html
View file @
cc849ad7
...
...
@@ -56,15 +56,15 @@
</label>
</li>
<li
class=
"b_navi__subitem b_navi__subitem--parentpage"
>
<
a
href
=
"{item.
slug
}"
class=
"b_navi__link b_navi__link--level-2 {f:if(condition: item.isCurrentPage, then: 'b_navi__link--active')}"
>
<
f:link.typolink
parameter
=
"{item.
uid
}"
class=
"b_navi__link b_navi__link--level-2 {f:if(condition: item.isCurrentPage, then: 'b_navi__link--active')}"
>
<span>
{item.nav_title}
</span>
</
a
>
</
f:link.typolink
>
</li>
<f:for
each=
"{item.subpages}"
as=
"item"
>
<li
class=
"b_navi__subitem"
>
<
a
href
=
"{item.
slug
}"
class=
"b_navi__link b_navi__link--level-2 {f:if(condition: item.isInRootLine, then: 'b_navi__link--active')}"
>
<
f:link.typolink
parameter
=
"{item.
uid
}"
class=
"b_navi__link b_navi__link--level-2 {f:if(condition: item.isInRootLine, then: 'b_navi__link--active')}"
>
<span>
{item.nav_title}
</span>
</
a
>
</
f:link.typolink
>
</li>
</f:for>
</ul>
...
...
@@ -110,7 +110,6 @@
</f:else>
</f:if>
</div>
</div>
</div>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment