summaryrefslogtreecommitdiffstats
path: root/templates/part.feed.unread.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-18 16:08:22 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-18 16:08:22 +0200
commitfd8a57477e76ee670338885f5a79fbda1f1391bd (patch)
treee61e98023a339cd95ab263a5a896d54358b4fc28 /templates/part.feed.unread.php
parentdaa2c7dea555b334ffb7516f8af64ad1d090f39b (diff)
show unread count in title, fix #64
Diffstat (limited to 'templates/part.feed.unread.php')
-rw-r--r--templates/part.feed.unread.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/part.feed.unread.php b/templates/part.feed.unread.php
index 0c6527af3..5b5452fde 100644
--- a/templates/part.feed.unread.php
+++ b/templates/part.feed.unread.php
@@ -1,6 +1,6 @@
<li ng-class="{
active: subscriptionsBusinessLayer.isActive(0),
- unread: subscriptionsBusinessLayer.getUnreadCount(0) > 0
+ unread: getTotalUnreadCount() > 0
}"
ng-show="subscriptionsBusinessLayer.isVisible(0)">
<a class="rss-icon"
@@ -17,8 +17,8 @@
</a>
<span class="utils">
<span class="unread-counter"
- ng-show="subscriptionsBusinessLayer.getUnreadCount() > 0">
- {{ subscriptionsBusinessLayer.getUnreadCount() }}
+ ng-show="getTotalUnreadCount() > 0">
+ {{ getTotalUnreadCount() }}
</span>
<button class="svg action mark-read-icon"
ng-click="subscriptionsBusinessLayer.markAllRead()"