aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/generic_links_widget.tpl
blob: 67801e6667225169168d8bfce8035aefc754f259 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
<div class="widget{{if $class}} {{$class}}{{/if}}">
	{{if $title}}<h3>{{$title}}</h3>{{/if}}
	{{if $desc}}<div class="desc">{{$desc}}</div>{{/if}}
	
	<ul class="nav nav-pills flex-column">
		{{foreach $items as $item}}
		<li class="nav-item"><a href="{{$item.url}}" class="nav-link{{if $item.selected}} active{{/if}}">{{$item.label}}</a></li>
		{{/foreach}}
	</ul>
	
</div>