aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_albums.tpl
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-10-31 20:25:43 +0100
committermarijus <mario@mariovavti.com>2014-10-31 20:25:43 +0100
commit5d151b988605bc5aedbef65b687a43dedbc574e9 (patch)
treed8b16f708c5a11ac143f38c40e24b29aa5d8a448 /view/tpl/photo_albums.tpl
parent5d1bb1b6854b4601eedaa9d39a40832b29d434e5 (diff)
downloadvolse-hubzilla-5d151b988605bc5aedbef65b687a43dedbc574e9.tar.gz
volse-hubzilla-5d151b988605bc5aedbef65b687a43dedbc574e9.tar.bz2
volse-hubzilla-5d151b988605bc5aedbef65b687a43dedbc574e9.zip
do not reload page for photo upload
Diffstat (limited to 'view/tpl/photo_albums.tpl')
-rwxr-xr-xview/tpl/photo_albums.tpl8
1 files changed, 2 insertions, 6 deletions
diff --git a/view/tpl/photo_albums.tpl b/view/tpl/photo_albums.tpl
index 0f8b809ac..de1105bbc 100755
--- a/view/tpl/photo_albums.tpl
+++ b/view/tpl/photo_albums.tpl
@@ -1,17 +1,13 @@
<div id="side-bar-photos-albums" class="widget">
<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}}
+ {{if $albums}}
{{foreach $albums as $al}}
{{if $al.text}}
<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}}
</ul>
</div>