Render submenu with standard button colors
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
<html data-namespace-typo3-fluid="true" lang="en"
|
||||
xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"
|
||||
xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers"
|
||||
xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers">
|
||||
xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers">
|
||||
|
||||
<f:layout name="Default"/>
|
||||
|
||||
@@ -73,16 +72,18 @@
|
||||
</p>
|
||||
</f:if>
|
||||
<ul class="list-none p-0 m-0 space-y-2">
|
||||
<v:menu pageUid="{settings.conceptPageUid}" as="menu">
|
||||
<f:for each="{menu}" as="page">
|
||||
<li>
|
||||
<f:link.typolink parameter="{page.uid}"
|
||||
class="button w-full">
|
||||
{page.title}
|
||||
</f:link.typolink>
|
||||
</li>
|
||||
</f:for>
|
||||
</v:menu>
|
||||
<f:for each="{pages}" as="page">
|
||||
<f:if condition="{page.hidden}">
|
||||
<f:else>
|
||||
<li>
|
||||
<f:link.typolink parameter="{page.uid}"
|
||||
class="button button--light{f:if(condition: '{data.pid} == {page.uid}', then: ' button--active')} w-full">
|
||||
{page.title}
|
||||
</f:link.typolink>
|
||||
</li>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</f:for>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user