summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-07-26 19:20:21 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-07-26 19:20:21 -0400
commitf80555a94cc1d2fb21233b538ef8a4dd140486ea (patch)
treed9861479d84b3f5b59d2f20520de52f96ebf80ae /templates
parent3731be7db2273d76d55821cad34697bd5d7745a0 (diff)
shows a spinner while updating feed
Diffstat (limited to 'templates')
-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>';
}
}