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.folder.php | |
parent | 71f25d7e8a70bd017d3589ae54efb19c4ba317f5 (diff) |
try to fix out of syn issue
Diffstat (limited to 'templates/part.navigation.folder.php')
-rw-r--r-- | templates/part.navigation.folder.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/part.navigation.folder.php b/templates/part.navigation.folder.php index c726f1da6..849c43d38 100644 --- a/templates/part.navigation.folder.php +++ b/templates/part.navigation.folder.php @@ -2,10 +2,10 @@ active: Navigation.isFolderActive(folder.id), open: folder.opened || folder.getsFeed, collapsible: Navigation.hasFeeds(folder.id) || folder.getsFeed, - unread: Navigation.getFolderUnreadCount(folder.id) > 0 + unread: Navigation.isFolderUnread(folder.id) }" ng-repeat="folder in Navigation.getFolders() | orderBy:'name.toLowerCase()'" - ng-show="Navigation.getFolderUnreadCount(folder.id) > 0 + ng-show="Navigation.isFolderUnread(folder.id) || Navigation.isShowAll() || Navigation.isFolderActive(folder.id) || Navigation.subFeedActive(folder.id) @@ -96,7 +96,7 @@ <ul> <li class="app-navigation-entry-utils-counter" ng-show="folder.id && - Navigation.getFolderUnreadCount(folder.id) > 0" + Navigation.isFolderUnread(folder.id)" title="{{ Navigation.getFolderUnreadCount(folder.id) }}"> {{ Navigation.getFolderUnreadCount(folder.id) | unreadCountFormatter }} @@ -121,7 +121,7 @@ title="<?php p($l->t('Delete folder')); ?>"> </button> </li> - <li ng-show="Navigation.getFolderUnreadCount(folder.id) > 0" class="mark-read"> + <li ng-show="Navigation.isFolderUnread(folder.id)" class="mark-read"> <button class="icon-checkmark" ng-click="Navigation.markFolderRead(folder.id)" title="<?php p($l->t('Mark all articles read')); ?>"> |