aboutsummaryrefslogblamecommitdiffstats
path: root/view/tpl/photo_albums.tpl
blob: 5602f85718b022807e16a4b47d2ce88226a283ba (plain) (tree)
1
2
3
4
5
6
7
                                                
                           
                                              


                                                                                                           
                      






                                                                                                                                                          
             
      
<div id="side-bar-photos-albums" class="widget">
	<h3>{{$title}}</h3>
	<ul class="nav nav-pills nav-stacked">
	{{if $upload}}
		<li><a href="{{$baseurl}}/photos/{{$nick}}/upload" title="{{$upload}}">{{$upload}}</a></li>
	{{/if}}
	{{if $albums}}
		{{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}}
	</ul>
</div>