diff options
Diffstat (limited to 'view')
-rwxr-xr-x | view/tpl/photo_albums.tpl | 4 |
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}} |