aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_albums.tpl
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-09-26 19:28:28 +0200
committermarijus <mario@mariovavti.com>2014-09-26 19:28:28 +0200
commita7269e9d6edee9852da88d4388010536d47f416d (patch)
tree1cd5ec6fa4dbbc50faa938215d7baad0a6ed45c4 /view/tpl/photo_albums.tpl
parentf652fbdf74ca646679df52825a7604893eca13e5 (diff)
downloadvolse-hubzilla-a7269e9d6edee9852da88d4388010536d47f416d.tar.gz
volse-hubzilla-a7269e9d6edee9852da88d4388010536d47f416d.tar.bz2
volse-hubzilla-a7269e9d6edee9852da88d4388010536d47f416d.zip
upload should be first
Diffstat (limited to 'view/tpl/photo_albums.tpl')
-rwxr-xr-xview/tpl/photo_albums.tpl6
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>