summaryrefslogtreecommitdiffstats
path: root/templates/part.listfeed.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-11 20:56:23 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-11 20:56:23 +0200
commitb06fc20ddbadbc7522cd23a83a20975f43889890 (patch)
tree252ddf454899920771466aa7d5b6376461c386e9 /templates/part.listfeed.php
parentce6b20c59e1140867f2353361d3524e3baeb4580 (diff)
allow users to discard folder and feed errors
Diffstat (limited to 'templates/part.listfeed.php')
-rw-r--r--templates/part.listfeed.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php
index 1c08a4ae4..4008ca8af 100644
--- a/templates/part.listfeed.php
+++ b/templates/part.listfeed.php
@@ -26,21 +26,26 @@
{{ feed.title }}
</a>
- <span class="utils" ng-hide="feed.error">
+ <span class="utils">
<span class="unread-counter">
{{ feedBl.getUnreadCount(feed.id) }}
</span>
<button class="svg action mark-read-icon"
- ng-show="feedBl.getUnreadCount(feed.id) > 0"
+ ng-show="feedBl.getUnreadCount(feed.id) > 0 && feed.id"
ng-click="feedBl.markFeedRead(feed.id)"
title="<?php p($l->t('Mark all read')); ?>"></button>
<button ng-click="feedBl.delete(feed.id)"
class="svg action delete-icon"
- title="<?php p($l->t('Delete feed')); ?>"></button>
+ title="<?php p($l->t('Delete feed')); ?>"
+ ng-show="feed.id"></button>
+ <button class="svg action mark-read-icon"
+ ng-click="feedBl.markErrorRead(feed.urlHash)"
+ title="<?php p($l->t('Discard')); ?>"
+ ng-show="feed.error"></button>
</span>
<div class="message" ng-show="feed.error">{{ feed.error }}</div>