aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_albums.tpl
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-09-26 19:34:39 +0200
committermarijus <mario@mariovavti.com>2014-09-26 19:34:39 +0200
commit04e460c8f8915be3b7911bf0b9c9c0bcd8703e25 (patch)
treea41066177caf4f3458c2cdc9a4e95a2977c43b83 /view/tpl/photo_albums.tpl
parenta7269e9d6edee9852da88d4388010536d47f416d (diff)
downloadvolse-hubzilla-04e460c8f8915be3b7911bf0b9c9c0bcd8703e25.tar.gz
volse-hubzilla-04e460c8f8915be3b7911bf0b9c9c0bcd8703e25.tar.bz2
volse-hubzilla-04e460c8f8915be3b7911bf0b9c9c0bcd8703e25.zip
upload first but not inside another {{if}}
Diffstat (limited to 'view/tpl/photo_albums.tpl')
-rwxr-xr-xview/tpl/photo_albums.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/photo_albums.tpl b/view/tpl/photo_albums.tpl
index cc0890e26..5602f8571 100755
--- a/view/tpl/photo_albums.tpl
+++ b/view/tpl/photo_albums.tpl
@@ -1,10 +1,10 @@
<div id="side-bar-photos-albums" class="widget">
<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}}
+ {{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>