diff options
Diffstat (limited to 'templates/part.feed.unread.php')
-rw-r--r-- | templates/part.feed.unread.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/part.feed.unread.php b/templates/part.feed.unread.php index 049332002..ff91c55c1 100644 --- a/templates/part.feed.unread.php +++ b/templates/part.feed.unread.php @@ -1,8 +1,7 @@ <li ng-class="{ - active: subscriptionsBusinessLayer.isActive(0), - unread: getTotalUnreadCount() > 0 - }" - ng-show="subscriptionsBusinessLayer.isVisible(0)"> + active: Navigation.isSubscriptionsActive(), + unread: Navigation.getUnreadCount() > 0 + }"> <a class="rss-icon" href="#/items" ng-if="!Navigation.isShowAll()"> <?php p($l->t('Unread articles'))?> @@ -16,14 +15,15 @@ </div> <span class="utils"> - <span class="unread-counter" - ng-show="getTotalUnreadCount() > 0"> - {{ unreadCountFormatter(getTotalUnreadCount()) }} + <span class="unread-counter" ng-show="getUnreadCount() > 0"> + {{ Navigation.getUnreadCount() | unreadCountFormatter }} </span> + <!-- <button class="svg action mark-read-icon" - ng-click="subscriptionsBusinessLayer.markRead()" + ng-click="Navigation.markRead()" title="<?php p($l->t('Mark read')) ?>" ng-show="getTotalUnreadCount() > 0" oc-tooltip data-placement="bottom"></button> + --> </span> </li>
\ No newline at end of file |