aboutsummaryrefslogblamecommitdiffstats
path: root/view/tpl/photo_albums.tpl
blob: 83bdd95e718d9ab78f97596c885e0349dc017962 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                
                           
                                              
                                                                                                                                      
                              
                                          
                                    
                                                                                                                                                                                                                  

                            
                       
             
      
<div id="side-bar-photos-albums" class="widget">
	<h3>{{$title}}</h3>
	<ul class="nav nav-pills flex-column">
		<li class="nav-item"><a class="nav-link" href="{{$baseurl}}/photos/{{$nick}}" title="{{$title}}" >{{$recent}}</a></li>
		{{if $albums}}
		{{foreach $albums as $al}}
		{{if $al.shorttext}}
		<li class="nav-item"><a class="nav-link" href="{{$baseurl}}/photos/{{$nick}}/album/{{$al.bin2hex}}"><span class="badge badge-secondary float-right">{{$al.total}}</span>{{$al.shorttext}}</a></li>
		{{/if}}
		{{/foreach}}
		{{/if}}
	</ul>
</div>