aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_albums.tpl
blob: 27f156c68693d266370593fa8df647d73d207c0f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<div id="side-bar-photos-albums" class="widget">
	<h3><a href="{{$baseurl}}/photos/{{$nick}}" title="{{$title}}" >{{$title}}</a></h3>
	{{if $albums}}
	<ul class="nav nav-pills nav-stacked">
		{{foreach $albums as $al}}
		{{if $al.text}}
		<li><a href="{{$baseurl}}/photos/{{$nick}}/album/{{$al.bin2hex}}">{{$al.text}}<span class="badge pull-right">{{$al.total}}</span></a></li>
		{{/if}}
		{{/foreach}}

	{{/if}}
	{{if $upload}}
		<li><a href="{{$baseurl}}/photos/{{$nick}}/upload" title="{{$upload}}">{{$upload}}</a></li>
	{{/if}}
	</ul>
</div>