summaryrefslogtreecommitdiffstats
path: root/templates/part.feed.unread.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-05 11:22:38 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-05 11:22:38 +0200
commitf8451ca565c07cfe42d5cf5a9d3d02cba4f2d773 (patch)
tree18ad7d2e5bb804e28e3e5be122349d0bbbdbebc5 /templates/part.feed.unread.php
parent76b3dcd712b9bce4b94be58a07c8dbe584ee8f2f (diff)
bring back show all button
Diffstat (limited to 'templates/part.feed.unread.php')
-rw-r--r--templates/part.feed.unread.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/part.feed.unread.php b/templates/part.feed.unread.php
index 85f4c8766..67c57e369 100644
--- a/templates/part.feed.unread.php
+++ b/templates/part.feed.unread.php
@@ -1,26 +1,26 @@
<li ng-class="{
- active: isFeedActive(feedType.Subscriptions, 0),
- unread: getUnreadCount(feedType.Subscriptions, 0)!=0
+ active: subscriptionsBl.isActive(0),
+ unread: subscriptionsBl.getUnreadCount(0) > 0
}"
- ng-show="isShown(feedType.Subscriptions, 0)">
+ ng-show="subscriptionsBl.isVisible(0)">
<a class="rss-icon"
href="#"
- ui-if="!isShowAll()"
- ng-click="loadFeed(feedType.Subscriptions, 0)">
+ ui-if="!feedBl.isShowAll()"
+ ng-click="subscriptionsBl.load(0)">
<?php p($l->t('Unread articles'))?>
</a>
<a class="rss-icon"
href="#"
- ui-if="isShowAll()"
- ng-click="loadFeed(feedType.Subscriptions, 0)">
+ ui-if="feedBl.isShowAll()"
+ ng-click="subscriptionsBl.load(0)">
<?php p($l->t('All articles'))?>
</a>
<span class="utils">
<span class="unread-counter">
- {{ getUnreadCount() }}
+ {{ subscriptionsBl.getUnreadCount() }}
</span>
<button class="svg action mark-read-icon"
- ng-click="feedBl.markAllRead()"
+ ng-click="subscriptionsBl.markAllRead()"
title="<?php p($l->t('Mark all read')) ?>"></button>
</span>
</li> \ No newline at end of file