diff options
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/photo_albums.tpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/view/tpl/photo_albums.tpl b/view/tpl/photo_albums.tpl index cbb07cac3..cc0890e26 100755 --- a/view/tpl/photo_albums.tpl +++ b/view/tpl/photo_albums.tpl @@ -2,6 +2,9 @@ <h3>{{$title}}</h3> {{if $albums}} <ul class="nav nav-pills nav-stacked"> + {{if $upload}} + <li><a href="{{$baseurl}}/photos/{{$nick}}/upload" title="{{$upload}}">{{$upload}}</a></li> + {{/if}} {{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> @@ -9,8 +12,5 @@ {{/foreach}} {{/if}} - {{if $upload}} - <li><a href="{{$baseurl}}/photos/{{$nick}}/upload" title="{{$upload}}">{{$upload}}</a></li> - {{/if}} </ul> </div> |