summaryrefslogtreecommitdiffstats
path: root/templates/part.feed.unread.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-05-31 01:12:20 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-05-31 01:12:20 +0200
commit82f0a877a001ead0bd0cdd76d96fe46a071535d8 (patch)
treea37f50a00c77c5e6afd1790ccde75ab3639c6c96 /templates/part.feed.unread.php
parent32f2759945521129e00a7cd4933682ff63d9440f (diff)
add active and unread stuff
Diffstat (limited to 'templates/part.feed.unread.php')
-rw-r--r--templates/part.feed.unread.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/part.feed.unread.php b/templates/part.feed.unread.php
index 049332002..ff91c55c1 100644
--- a/templates/part.feed.unread.php
+++ b/templates/part.feed.unread.php
@@ -1,8 +1,7 @@
<li ng-class="{
- active: subscriptionsBusinessLayer.isActive(0),
- unread: getTotalUnreadCount() > 0
- }"
- ng-show="subscriptionsBusinessLayer.isVisible(0)">
+ active: Navigation.isSubscriptionsActive(),
+ unread: Navigation.getUnreadCount() > 0
+ }">
<a class="rss-icon" href="#/items" ng-if="!Navigation.isShowAll()">
<?php p($l->t('Unread articles'))?>
@@ -16,14 +15,15 @@
</div>
<span class="utils">
- <span class="unread-counter"
- ng-show="getTotalUnreadCount() > 0">
- {{ unreadCountFormatter(getTotalUnreadCount()) }}
+ <span class="unread-counter" ng-show="getUnreadCount() > 0">
+ {{ Navigation.getUnreadCount() | unreadCountFormatter }}
</span>
+ <!--
<button class="svg action mark-read-icon"
- ng-click="subscriptionsBusinessLayer.markRead()"
+ ng-click="Navigation.markRead()"
title="<?php p($l->t('Mark read')) ?>"
ng-show="getTotalUnreadCount() > 0"
oc-tooltip data-placement="bottom"></button>
+ -->
</span>
</li> \ No newline at end of file