summaryrefslogtreecommitdiffstats
path: root/templates/part.navigation.feed.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-09-11 14:32:59 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-09-11 14:32:59 +0200
commit793bd2177367c32d205c19950be33a8afc3c76e1 (patch)
tree7a36495ecb43e998e95dd21ec60ce943338ad80c /templates/part.navigation.feed.php
parentea9ebd4826fe9807af5bc17e786b3dc58f163970 (diff)
port to ES5, fix unread count going into minus
Diffstat (limited to 'templates/part.navigation.feed.php')
-rw-r--r--templates/part.navigation.feed.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/part.navigation.feed.php b/templates/part.navigation.feed.php
index be3b09372..7b20f3aed 100644
--- a/templates/part.navigation.feed.php
+++ b/templates/part.navigation.feed.php
@@ -54,7 +54,7 @@
ng-show="feed.id && !feed.editing && !feed.error && !feed.deleted">
<ul>
<li class="app-navigation-entry-utils-counter"
- ng-show="feed.id && Navigation.getUnreadCount(feed.id) > 0">
+ ng-show="feed.id && Navigation.getFeedUnreadCount(feed.id) > 0">
{{ Navigation.getFeedUnreadCount(feed.id) | unreadCountFormatter }}
</li>
<li class="app-navigation-entry-utils-menu-button">
@@ -72,7 +72,7 @@
<li><button ng-click="Navigation.deleteFeed(feed)"
class="icon-delete"
title="<?php p($l->t('Delete website')); ?>"></button></li>
- <li><button ng-show="Navigation.getUnreadCount(feed.id) > 0"
+ <li><button ng-show="Navigation.getFeedUnreadCount(feed.id) > 0"
class="icon-checkmark"
title="<?php p($l->t('Read all')); ?>"></button></li>
</ul>