aboutsummaryrefslogblamecommitdiffstats
path: root/view/tpl/widget_menu_count.tpl
blob: 5e8189b5f3c8f813ff8745f10a761d4d4c403a1f (plain) (tree)
1
2
3
4
5
6
7
8






                                                                                                                                           
                                                                                                                                                                 




                            
<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 {{if $menu_item.active}} bg-light text-dark{{else}} bg-secondary{{/if}} float-end">{{$menu_item.count}}</span>
			</a>
		<li>
		{{/foreach}}
	</ul>
</div>