From 97c6ba77c7cc09c646be9bb6b74a8d0907d9ecb1 Mon Sep 17 00:00:00 2001 From: marijus Date: Sun, 28 Sep 2014 23:14:49 +0200 Subject: some more work on photos --- view/tpl/photo_albums.tpl | 3 ++- view/tpl/photos_recent.tpl | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'view/tpl') 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}}
  • {{$upload}}
  • {{/if}} +
  • Recent Photos
  • {{if $albums}} {{foreach $albums as $al}} {{if $al.text}} -
  • {{$al.text}}{{$al.total}}
  • +
  • {{$al.total}}{{$al.text}}
  • {{/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 @@
    -

    {{$title}}

    + {{if $can_post}} +  {{$upload.0}} + {{/if}} +

    {{$title}}

    +
    {{foreach $photos as $photo}} -- cgit v1.2.3