diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-18 16:08:22 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-18 16:08:22 +0200 |
commit | fd8a57477e76ee670338885f5a79fbda1f1391bd (patch) | |
tree | e61e98023a339cd95ab263a5a896d54358b4fc28 /templates | |
parent | daa2c7dea555b334ffb7516f8af64ad1d090f39b (diff) |
show unread count in title, fix #64
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.feed.unread.php | 6 |
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()" |