diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-05 11:22:38 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-05 11:22:38 +0200 |
commit | f8451ca565c07cfe42d5cf5a9d3d02cba4f2d773 (patch) | |
tree | 18ad7d2e5bb804e28e3e5be122349d0bbbdbebc5 /templates/part.listfeed.php | |
parent | 76b3dcd712b9bce4b94be58a07c8dbe584ee8f2f (diff) |
bring back show all button
Diffstat (limited to 'templates/part.listfeed.php')
-rw-r--r-- | templates/part.listfeed.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php index 4db9cd385..84b99ddee 100644 --- a/templates/part.listfeed.php +++ b/templates/part.listfeed.php @@ -1,17 +1,17 @@ <li ng-class="{ - active: isFeedActive(feedType.Feed, feed.id), - unread: feed.unreadCount!=0 + active: feedBl.isActive(feed.id), + unread: feedBl.getUnreadCount(feed.id) != 0 }" ng-repeat="feed in feedBl.getFeedsOfFolder(<?php p($_['folderId']); ?>)" - ng-show="isShown(feedType.Feed, feed.id)" - data-id="{{feed.id}}" + ng-show="feedBl.isShown(feed.id)" + data-id="{{ feed.id }}" class="feed" draggable> - <a ng-style="{backgroundImage: feed.faviconLink}" + <a ng-style="{ backgroundImage: feed.faviconLink }" href="#" class="title" - ng-click="loadFeed(feedType.Feed, feed.id)"> - {{feed.title}} + ng-click="feedBl.load(feed.id)"> + {{ feed.title }} </a> <span class="utils"> @@ -20,11 +20,11 @@ title="<?php p($l->t('Delete feed')); ?>"></button> <span class="unread-counter"> - {{ getFeedUnreadCount(feed.id) }} + {{ feedBl.getUnreadCount(feed.id) }} </span> <button class="svg action mark-read-icon" - ng-show="feed.unreadCount > 0" + ng-show="feedBl.getUnreadCount(feed.id) > 0" ng-click="feedBl.markFeedRead(feed.id)" title="<?php p($l->t('Mark all read')); ?>"></button> |