Added proper support for font size and color
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / __menu.tpl
CommitLineData
0b2fbbb5
AE
1<nav>
2 <ol class="boxMenu">
045be020 3 {foreach from=$menuItemNodeList item=menuItemNode}
8aacc17d 4 <li class="{if $menuItemNode->isActiveNode()}active{/if}{if $menuItemNode->hasChildren()} boxMenuHasChildren{/if}">
2b7a2f53
MS
5 <a href="{$menuItemNode->getURL()}" class="boxMenuLink">
6 <span class="boxMenuLinkTitle">{lang}{$menuItemNode->title}{/lang}</span>
7 {if $menuItemNode->getOutstandingItems() > 0}
8 <span class="boxMenuLinkOutstandingItems badge badgeUpdate">{#$menuItemNode->getOutstandingItems()}</span>
86dbae33
AE
9 {/if}
10 </a>
aa779877 11
0b2fbbb5 12 {if $menuItemNode->hasChildren()}<ol class="boxMenuDepth{@$menuItemNode->getDepth()}">{else}</li>{/if}
045be020
AE
13
14 {if !$menuItemNode->hasChildren() && $menuItemNode->isLastSibling()}
15 {@"</ol></li>"|str_repeat:$menuItemNode->getOpenParentNodes()}
16 {/if}
17 {/foreach}
18 </ol>
19</nav>