aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_albums.tpl
diff options
context:
space:
mode:
authorPaolo Tacconi <p.tacconi@giunti.it>2014-09-26 14:40:22 +0200
committerPaolo Tacconi <p.tacconi@giunti.it>2014-09-26 14:40:22 +0200
commiteaf96f987a5f22a54fdbb4cedef52b0159a37ad0 (patch)
treef1fce3898b757e3a29e928cc1afe724edb620471 /view/tpl/photo_albums.tpl
parent6324a07dd8b17db5da0ce66c99fb69e2f3ec49e1 (diff)
parent574c4845b711c9ebf53efb2a0fe846f5aea46e87 (diff)
downloadvolse-hubzilla-eaf96f987a5f22a54fdbb4cedef52b0159a37ad0.tar.gz
volse-hubzilla-eaf96f987a5f22a54fdbb4cedef52b0159a37ad0.tar.bz2
volse-hubzilla-eaf96f987a5f22a54fdbb4cedef52b0159a37ad0.zip
Rebase from upstream
Diffstat (limited to 'view/tpl/photo_albums.tpl')
-rwxr-xr-xview/tpl/photo_albums.tpl27
1 files changed, 14 insertions, 13 deletions
diff --git a/view/tpl/photo_albums.tpl b/view/tpl/photo_albums.tpl
index 7ff4a8cc0..27f156c68 100755
--- a/view/tpl/photo_albums.tpl
+++ b/view/tpl/photo_albums.tpl
@@ -1,15 +1,16 @@
<div id="side-bar-photos-albums" class="widget">
-<h3><a href="{{$baseurl}}/photos/{{$nick}}" title="{{$title}}" >{{$title}}</a></h3>
-{{if $albums}}
-<ul>
-{{foreach $albums as $al}}
-{{if $al.text}}
-<li><a href="{{$baseurl}}/photos/{{$nick}}/album/{{$al.bin2hex}}">{{$al.text}}</a> ({{$al.total}})</li>
-{{/if}}
-{{/foreach}}
-</ul>
-{{/if}}
-{{if $upload}}
-<div id="photo-albums-upload-link"><a href="{{$baseurl}}/photos/{{$nick}}/upload" title="{{$upload}}">{{$upload}}</a></div>
-{{/if}}
+ <h3><a href="{{$baseurl}}/photos/{{$nick}}" title="{{$title}}" >{{$title}}</a></h3>
+ {{if $albums}}
+ <ul class="nav nav-pills nav-stacked">
+ {{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>
+ {{/if}}
+ {{/foreach}}
+
+ {{/if}}
+ {{if $upload}}
+ <li><a href="{{$baseurl}}/photos/{{$nick}}/upload" title="{{$upload}}">{{$upload}}</a></li>
+ {{/if}}
+ </ul>
</div>