diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-05-28 15:42:32 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-05-28 15:42:32 +0200 |
commit | ddb0d5020f4deccc2aec9d959ea434828e60a699 (patch) | |
tree | 922720c01a020ca7420c6f0fa232536194eff5b5 /templates/part.navigation.feed.php | |
parent | 71f25d7e8a70bd017d3589ae54efb19c4ba317f5 (diff) |
try to fix out of syn issue
Diffstat (limited to 'templates/part.navigation.feed.php')
-rw-r--r-- | templates/part.navigation.feed.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/part.navigation.feed.php b/templates/part.navigation.feed.php index 3ee742f69..13c178b7b 100644 --- a/templates/part.navigation.feed.php +++ b/templates/part.navigation.feed.php @@ -1,10 +1,10 @@ <li ng-class="{ active: Navigation.isFeedActive(feed.id), - unread: Navigation.getFeedUnreadCount(feed.id) > 0 + unread: Navigation.isFeedUnread(feed.id) }" ng-repeat="feed in Navigation.getFeedsOfFolder(<?php p($_['folderId']); ?>) | orderBy:'title.toLowerCase()' track by feed.url" - ng-show="Navigation.getFeedUnreadCount(feed.id) > 0 + ng-show="Navigation.isFeedUnread(feed.id) || Navigation.isShowAll() || Navigation.isFeedActive(feed.id) || !feed.id" @@ -71,7 +71,7 @@ ng-show="feed.id && !feed.editing && !feed.error && !feed.deleted"> <ul> <li class="app-navigation-entry-utils-counter" - ng-show="feed.id && Navigation.getFeedUnreadCount(feed.id) > 0" + ng-show="feed.id && Navigation.isFeedUnread(feed.id)" title="{{ Navigation.getFeedUnreadCount(feed.id) }}"> {{ Navigation.getFeedUnreadCount(feed.id) | unreadCountFormatter }} @@ -113,7 +113,7 @@ title="<?php p($l->t('Delete feed')); ?>"> </button> </li> - <li ng-show="Navigation.getFeedUnreadCount(feed.id) > 0" class="mark-read"> + <li ng-show="Navigation.isFeedUnread(feed.id)" class="mark-read"> <button class="icon-checkmark" ng-click="Navigation.markFeedRead(feed.id)" title="<?php p($l->t('Mark all articles read')); ?>"> |