aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_albums.tpl
diff options
context:
space:
mode:
authortuscanhobbit <tuscanhobbit@users.noreply.github.com>2014-09-28 23:19:44 +0200
committertuscanhobbit <tuscanhobbit@users.noreply.github.com>2014-09-28 23:19:44 +0200
commita548f644d05f330a2b70c87df821bce05007c979 (patch)
tree41eacca012451ef5a0dabb7471d810f37be100a9 /view/tpl/photo_albums.tpl
parentf104dc840c79f4ea666a85033bffbf4a33d06f4e (diff)
parente18dfbe3ce0a8d89a5320e4f239801d0b84dd83e (diff)
downloadvolse-hubzilla-a548f644d05f330a2b70c87df821bce05007c979.tar.gz
volse-hubzilla-a548f644d05f330a2b70c87df821bce05007c979.tar.bz2
volse-hubzilla-a548f644d05f330a2b70c87df821bce05007c979.zip
Merge from upstream
Diffstat (limited to 'view/tpl/photo_albums.tpl')
-rwxr-xr-xview/tpl/photo_albums.tpl13
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>