summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-26 12:08:07 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-26 12:08:07 +0200
commit01210ea081498b511b29ac76f7b55e5032d45e50 (patch)
treef8543d26b5c833f10d85e1966812b2d230eb9835 /templates
parentf987751d8c5c7a3ee660411afb9d01e6a822aed5 (diff)
format unread count properly
Diffstat (limited to 'templates')
-rw-r--r--templates/part.feed.starred.php2
-rw-r--r--templates/part.feed.unread.php2
-rw-r--r--templates/part.listfeed.php2
-rw-r--r--templates/part.listfolder.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/templates/part.feed.starred.php b/templates/part.feed.starred.php
index 2af6f21ff..15f5e0a07 100644
--- a/templates/part.feed.starred.php
+++ b/templates/part.feed.starred.php
@@ -12,7 +12,7 @@
</a>
<span class="utils">
<span class="unread-counter">
- {{ starredBusinessLayer.getUnreadCount() }}
+ {{ unreadCountFormatter(starredBusinessLayer.getUnreadCount()) }}
</span>
</span>
</li> \ No newline at end of file
diff --git a/templates/part.feed.unread.php b/templates/part.feed.unread.php
index c5609f60a..96df79af4 100644
--- a/templates/part.feed.unread.php
+++ b/templates/part.feed.unread.php
@@ -19,7 +19,7 @@
<span class="utils">
<span class="unread-counter"
ng-show="getTotalUnreadCount() > 0">
- {{ getTotalUnreadCount() }}
+ {{ unreadCountFormatter(getTotalUnreadCount()) }}
</span>
<button class="svg action mark-read-icon"
ng-click="subscriptionsBusinessLayer.markAllRead()"
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php
index 727d90197..1309da9df 100644
--- a/templates/part.listfeed.php
+++ b/templates/part.listfeed.php
@@ -33,7 +33,7 @@
<span class="unread-counter"
ng-show="feed.id && feedBusinessLayer.getUnreadCount(feed.id) > 0">
- {{ feedBusinessLayer.getUnreadCount(feed.id) }}
+ {{ unreadCountFormatter(feedBusinessLayer.getUnreadCount(feed.id)) }}
</span>
<button class="svg action mark-read-icon"
diff --git a/templates/part.listfolder.php b/templates/part.listfolder.php
index e007b6faa..b2404b3f1 100644
--- a/templates/part.listfolder.php
+++ b/templates/part.listfolder.php
@@ -34,7 +34,7 @@
<span class="unread-counter"
ng-show="folderBusinessLayer.getUnreadCount(folder.id) > 0">
- {{ folderBusinessLayer.getUnreadCount(folder.id) }}
+ {{ unreadCountFormatter(folderBusinessLayer.getUnreadCount(folder.id)) }}
</span>
<button class="svg action mark-read-icon"