aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_albums.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-06-17 20:45:53 -0700
committerfriendica <info@friendica.com>2014-06-17 20:45:53 -0700
commit8b66329a8f3705e7ccf868093ee2debaa8e4bdca (patch)
tree1d40bd37e30f16fa74d4afdfece5fe1d2cc7f969 /view/tpl/photo_albums.tpl
parent35d42f86265f9ce9dfaaae0298c35d056d0e9ed8 (diff)
downloadvolse-hubzilla-8b66329a8f3705e7ccf868093ee2debaa8e4bdca.tar.gz
volse-hubzilla-8b66329a8f3705e7ccf868093ee2debaa8e4bdca.tar.bz2
volse-hubzilla-8b66329a8f3705e7ccf868093ee2debaa8e4bdca.zip
add photo count to photo album list
Diffstat (limited to 'view/tpl/photo_albums.tpl')
-rwxr-xr-xview/tpl/photo_albums.tpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/view/tpl/photo_albums.tpl b/view/tpl/photo_albums.tpl
index e83eefb39..7ff4a8cc0 100755
--- a/view/tpl/photo_albums.tpl
+++ b/view/tpl/photo_albums.tpl
@@ -3,7 +3,9 @@
{{if $albums}}
<ul>
{{foreach $albums as $al}}
-<li><a href="{{$baseurl}}/photos/{{$nick}}/album/{{$al.bin2hex}}">{{$al.text}}</a></li>
+{{if $al.text}}
+<li><a href="{{$baseurl}}/photos/{{$nick}}/album/{{$al.bin2hex}}">{{$al.text}}</a> ({{$al.total}})</li>
+{{/if}}
{{/foreach}}
</ul>
{{/if}}