aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/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}}