aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorThomas Willingham <beardyunixer@beardyunixer.com>2014-09-29 19:12:12 +0100
committerThomas Willingham <beardyunixer@beardyunixer.com>2014-09-29 19:12:12 +0100
commit7c3b428e670ec3508f821a95568ba1248ce33616 (patch)
tree7210ebb4355561ea72f155b666bdaf3b367088cd /view/tpl
parent90378e8ef8647807a348541a65a908da6656ce1b (diff)
parent43d2a8ceae87d9c39f543e9f4dd07566db325e62 (diff)
downloadvolse-hubzilla-7c3b428e670ec3508f821a95568ba1248ce33616.tar.gz
volse-hubzilla-7c3b428e670ec3508f821a95568ba1248ce33616.tar.bz2
volse-hubzilla-7c3b428e670ec3508f821a95568ba1248ce33616.zip
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/photo_albums.tpl3
-rwxr-xr-xview/tpl/photos_recent.tpl6
2 files changed, 7 insertions, 2 deletions
diff --git a/view/tpl/photo_albums.tpl b/view/tpl/photo_albums.tpl
index 5602f8571..0f8b809ac 100755
--- a/view/tpl/photo_albums.tpl
+++ b/view/tpl/photo_albums.tpl
@@ -4,10 +4,11 @@
{{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}}
diff --git a/view/tpl/photos_recent.tpl b/view/tpl/photos_recent.tpl
index b4094512c..6b0f555b6 100755
--- a/view/tpl/photos_recent.tpl
+++ b/view/tpl/photos_recent.tpl
@@ -1,5 +1,9 @@
<div class="section-title-wrapper">
- <h3>{{$title}}</h3>
+ {{if $can_post}}
+ <a class="btn btn-xs btn-success pull-right" href="{{$upload.1}}"><i class="icon-upload"></i>&nbsp;{{$upload.0}}</a>
+ {{/if}}
+ <h2>{{$title}}</h2>
+ <div class="clear"></div>
</div>
<div id="photo-album-contents">
{{foreach $photos as $photo}}