summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-05-09 12:57:35 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-05-09 12:57:35 +0200
commitb8b4dfb4969e1baf84a14fb65a5dc153b0f5fae4 (patch)
tree27e211e26f442efd72a7f34903953ad57b1a9b76 /templates
parentfe0de2ab84a88cb4c742f4f10fd43716934b7282 (diff)
only make one request for mark all read and mark folder read, fix #171, fix a bug that prevented readding of feeds when its folder was deleted, fix a bug that would not allow mark read for feeds when the app was started for the first time
Diffstat (limited to 'templates')
-rw-r--r--templates/part.feed.unread.php2
-rw-r--r--templates/part.listfeed.php2
-rw-r--r--templates/part.listfolder.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/part.feed.unread.php b/templates/part.feed.unread.php
index 96df79af4..a933a2f75 100644
--- a/templates/part.feed.unread.php
+++ b/templates/part.feed.unread.php
@@ -22,7 +22,7 @@
{{ unreadCountFormatter(getTotalUnreadCount()) }}
</span>
<button class="svg action mark-read-icon"
- ng-click="subscriptionsBusinessLayer.markAllRead()"
+ ng-click="subscriptionsBusinessLayer.markRead()"
title="<?php p($l->t('Mark read')) ?>"
ng-show="getTotalUnreadCount() > 0"
oc-tooltip data-placement="bottom"></button>
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php
index 971f0b922..ca49823f6 100644
--- a/templates/part.listfeed.php
+++ b/templates/part.listfeed.php
@@ -45,7 +45,7 @@
<button class="svg action mark-read-icon"
ng-show="feedBusinessLayer.getUnreadCount(feed.id) > 0 && feed.id"
- ng-click="feedBusinessLayer.markFeedRead(feed.id)"
+ ng-click="feedBusinessLayer.markRead(feed.id)"
title="<?php p($l->t('Mark read')); ?>"
oc-tooltip></button>
diff --git a/templates/part.listfolder.php b/templates/part.listfolder.php
index fb30f1d55..23775f971 100644
--- a/templates/part.listfolder.php
+++ b/templates/part.listfolder.php
@@ -39,7 +39,7 @@
<button class="svg action mark-read-icon"
ng-show="folderBusinessLayer.getUnreadCount(folder.id) > 0 && folder.id"
- ng-click="folderBusinessLayer.markFolderRead(folder.id)"
+ ng-click="folderBusinessLayer.markRead(folder.id)"
title="<?php p($l->t('Mark read')); ?>"
oc-tooltip></button>