aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/widget_menu_count.tpl
blob: ed70d3295b4a0ca9d1c0491d4c455ebf3b824f06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
<div class="widget">
	<h3>{{$title}}</h3>
	<ul class="nav nav-pills flex-column">
		{{foreach $menu_items as $menu_item}}
		<li class="nav-item">
			<a class="nav-link {{if $menu_item.active}} active{{/if}}" href="{{$menu_item.href}}" title="{{$menu_item.title}}">
				{{$menu_item.label}}
				<span class="badge bg-secondary float-end">{{$menu_item.count}}</span>
			</a>
		<li>
		{{/foreach}}
	</ul>
</div>