diff options
author | marijus <mario@mariovavti.com> | 2014-10-31 20:25:43 +0100 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-10-31 20:25:43 +0100 |
commit | 5d151b988605bc5aedbef65b687a43dedbc574e9 (patch) | |
tree | d8b16f708c5a11ac143f38c40e24b29aa5d8a448 /view/tpl/photo_albums.tpl | |
parent | 5d1bb1b6854b4601eedaa9d39a40832b29d434e5 (diff) | |
download | volse-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-x | view/tpl/photo_albums.tpl | 8 |
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> |