aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
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
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')
-rw-r--r--template/yoga/theme/p0w0/theme.css5
-rw-r--r--template/yoga/theme/wipi/theme.css18
-rw-r--r--template/yoga/thumbnails.tpl12
3 files changed, 32 insertions, 3 deletions
diff --git a/template/yoga/theme/p0w0/theme.css b/template/yoga/theme/p0w0/theme.css
index f50b666af..e87174ba1 100644
--- a/template/yoga/theme/p0w0/theme.css
+++ b/template/yoga/theme/p0w0/theme.css
@@ -248,6 +248,11 @@ SPAN.calItem, SPAN.calItemEmpty
label {
cursor:pointer
}
+
+.zero { display: none }
+.one { }
+.2nmore { }
+
/* nice looking month calendar*/
TD.calDayCellEmpty, TD.calDayCellFull { border: 1px solid gray;}
diff --git a/template/yoga/theme/wipi/theme.css b/template/yoga/theme/wipi/theme.css
index 6460ee03d..e28625b12 100644
--- a/template/yoga/theme/wipi/theme.css
+++ b/template/yoga/theme/wipi/theme.css
@@ -238,6 +238,11 @@ SPAN.calItem, SPAN.calItemEmpty
label {
cursor:pointer
}
+
+.zero { display: none }
+.one { }
+.2nmore { }
+
/* nice looking month calendar*/
TD.calDayCellEmpty, TD.calDayCellFull { border: 1px solid gray;}
@@ -246,3 +251,16 @@ TD.calDayCellEmpty { color: silver; }
.calBackDate { color: #000; }
.calForeDate { color: #fff; }
.virtual_cat { background: #222 !important; }
+
+.PWG {
+ font-family: verdana, arial, helvetica, sans-serif !important;
+ font-size: 0.9em;
+ font-weight: normal;
+ letter-spacing: 0px;
+}
+a.PWG { border: 0px; }
+a.PWG .P { color : #f92; }
+a.PWG .W { color : #aaa; }
+a.PWG .G { color : #69c; }
+a.PWG:hover .P { color : #69c; }
+a.PWG:hover .G { color : #f92; }
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>