summaryrefslogtreecommitdiffstats
path: root/templates/part.itemcounter.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/part.itemcounter.php')
-rw-r--r--templates/part.itemcounter.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/part.itemcounter.php b/templates/part.itemcounter.php
index ad24a991b..9a1127ea8 100644
--- a/templates/part.itemcounter.php
+++ b/templates/part.itemcounter.php
@@ -10,7 +10,10 @@ function countUnreadItems($feedid) {
++$counter;
}
if ($counter > 0) {
- echo '<span id="unreaditemcounter">' . $counter . '</span>';
+ echo '<span id="unreaditemcounter" class="nonzero">' . $counter . '</span>';
+ }
+ else {
+ echo '<span id="unreaditemcounter" class="zero"></span>';
}
}