summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-11-20 19:55:23 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2015-11-20 19:55:23 +0100
commitc995c5b447cd32f4eb9f3cd9fc1865fd93962f24 (patch)
tree99390128e13da58b9f3059a4961fa4b2fb7c6cea /templates
parentfae882f834409e18174e05d19deea39a3bf01e7b (diff)
If a feed failed to update more than 10 times, show a hint in the web interface
Diffstat (limited to 'templates')
-rw-r--r--templates/part.navigation.feed.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/part.navigation.feed.php b/templates/part.navigation.feed.php
index cbed3d84b..b2d48b46d 100644
--- a/templates/part.navigation.feed.php
+++ b/templates/part.navigation.feed.php
@@ -1,13 +1,15 @@
<li ng-class="{
active: Navigation.isFeedActive(feed.id),
- unread: Navigation.isFeedUnread(feed.id)
+ unread: Navigation.isFeedUnread(feed.id),
+ updateerror: feed.updateErrorCount>10
}"
ng-repeat="feed in Navigation.getFeedsOfFolder(<?php p($_['folderId']); ?>)
| orderBy:['-pinned', 'title.toLowerCase()'] track by feed.url"
ng-show="Navigation.isFeedUnread(feed.id)
|| Navigation.isShowAll()
|| Navigation.isFeedActive(feed.id)
- || !feed.id"
+ || !feed.id
+ || feed.updateErrorCount>10"
data-id="{{ feed.id }}"
class="feed with-counter with-menu animate-show"
news-draggable-disable="{{
@@ -31,7 +33,7 @@
ng-href="#/items/feeds/{{ feed.id }}/"
class="title"
ng-class="{'icon-rss': !feed.faviconLink}"
- title="{{ feed.title }}">
+ title="{{ feed.updateErrorCount > 10 ? '<?php p($l->t('Feed failed to update more than 10 times')); ?>': feed.title }}">
{{ feed.title }}
</a>