diff options
Diffstat (limited to 'view/tpl/photo_albums.tpl')
-rwxr-xr-x | view/tpl/photo_albums.tpl | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/view/tpl/photo_albums.tpl b/view/tpl/photo_albums.tpl index 27f156c68..0f8b809ac 100755 --- a/view/tpl/photo_albums.tpl +++ b/view/tpl/photo_albums.tpl @@ -1,16 +1,17 @@ <div id="side-bar-photos-albums" class="widget"> - <h3><a href="{{$baseurl}}/photos/{{$nick}}" title="{{$title}}" >{{$title}}</a></h3> - {{if $albums}} + <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}} + <li><a href="{{$baseurl}}/photos/{{$nick}}" title="{{$title}}" >Recent Photos</a></li> + {{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> + <li><a href="{{$baseurl}}/photos/{{$nick}}/album/{{$al.bin2hex}}"><span class="badge pull-right">{{$al.total}}</span>{{$al.text}}</a></li> {{/if}} {{/foreach}} {{/if}} - {{if $upload}} - <li><a href="{{$baseurl}}/photos/{{$nick}}/upload" title="{{$upload}}">{{$upload}}</a></li> - {{/if}} </ul> </div> |