summaryrefslogtreecommitdiffstats
path: root/templates/part.listfeed.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-02 10:37:51 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-02 10:38:00 +0200
commit711c260bfea993e0a1124951a55eee6c989ee888 (patch)
tree8982f13a41e9054bb7c2377b66769fe83ae9371a /templates/part.listfeed.php
parent635a9d779549832b4dacb2c5b9f4033d846bf154 (diff)
small pixel fixes
Diffstat (limited to 'templates/part.listfeed.php')
-rw-r--r--templates/part.listfeed.php10
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>