diff options
Diffstat (limited to 'templates/part.listfeed.php')
-rw-r--r-- | templates/part.listfeed.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php index 2f136801c..4db9cd385 100644 --- a/templates/part.listfeed.php +++ b/templates/part.listfeed.php @@ -2,7 +2,7 @@ active: isFeedActive(feedType.Feed, feed.id), unread: feed.unreadCount!=0 }" - ng-repeat="feed in getFeedsOfFolder(<?php p($_['folderId']); ?>)" + ng-repeat="feed in feedBl.getFeedsOfFolder(<?php p($_['folderId']); ?>)" ng-show="isShown(feedType.Feed, feed.id)" data-id="{{feed.id}}" class="feed" @@ -15,17 +15,17 @@ </a> <span class="utils"> - <button ng-click="delete(feedType.Feed, feed.id)" + <button ng-click="feedBl.delete(feed.id)" class="svg action delete-icon" title="<?php p($l->t('Delete feed')); ?>"></button> <span class="unread-counter"> - {{ getUnreadCount(feedType.Feed, feed.id) }} + {{ getFeedUnreadCount(feed.id) }} </span> <button class="svg action mark-read-icon" - ng-show="getUnreadCount(feedType.Feed, feed.id)>0" - ng-click="markAllRead(feedType.Feed, feed.id)" + ng-show="feed.unreadCount > 0" + ng-click="feedBl.markFeedRead(feed.id)" title="<?php p($l->t('Mark all read')); ?>"></button> </span> |