aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/thumbnails.tpl
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2007-01-30 07:00:17 +0000
committervdigital <vdigital@piwigo.org>2007-01-30 07:00:17 +0000
commit0a2c5204369bdbf4f8b761444056d90c15b98317 (patch)
treeabcf060e473d7a673b476f2677737f10cca97a0d /template/yoga/thumbnails.tpl
parent2f70d58b2243454085035177e4a6ab777a3bf55c (diff)
Issue 0000614: Display hits under thumbnails like comments counter
- Comments are not plurial < 2 - hits and comments have specific classes for css control git-svn-id: http://piwigo.org/svn/trunk@1769 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/thumbnails.tpl')
-rw-r--r--template/yoga/thumbnails.tpl12
1 files changed, 9 insertions, 3 deletions
diff --git a/template/yoga/thumbnails.tpl b/template/yoga/thumbnails.tpl
index 8bf9d8e01..d5c1a906d 100644
--- a/template/yoga/thumbnails.tpl
+++ b/template/yoga/thumbnails.tpl
@@ -21,11 +21,17 @@
<!-- END category_name -->
{thumbnails.line.thumbnail.IMAGE_TS}
<!-- BEGIN nb_comments -->
- <br />{thumbnails.line.thumbnail.nb_comments.NB_COMMENTS} {lang:comments}
+ <span class="{thumbnails.line.thumbnail.nb_comments.CLASS}">
+ <br />
+ {thumbnails.line.thumbnail.nb_comments.NB_COMMENTS}
+ </span>
<!-- END nb_comments -->
<!-- BEGIN nb_hits -->
- <br />{thumbnails.line.thumbnail.nb_hits.HITS}
- <!-- END nb_comments -->
+ <span class="{thumbnails.line.thumbnail.nb_hits.CLASS}">
+ <br />
+ {thumbnails.line.thumbnail.nb_hits.HITS}
+ </span>
+ <!-- END nb_hits -->
</span>
</span>
</li>