summaryrefslogtreecommitdiffstats
path: root/templates/part.listfeed.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-11 15:48:50 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-11 15:48:50 +0200
commit80707aa9e3c2925b4ae995661013be622963c217 (patch)
treebfd86604827bc9ca6bb86292467a18afd8924322 /templates/part.listfeed.php
parent7808ff902b745b8e7d2fabb5f941d818b0dc78fd (diff)
translate folder and feed errors and added css and template code for creating folders and feeds and what happens when an error gets triggered
Diffstat (limited to 'templates/part.listfeed.php')
-rw-r--r--templates/part.listfeed.php19
1 files changed, 14 insertions, 5 deletions
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php
index 73087af28..118bdd0b8 100644
--- a/templates/part.listfeed.php
+++ b/templates/part.listfeed.php
@@ -1,6 +1,7 @@
<li ng-class="{
active: feedBl.isActive(feed.id),
- unread: feedBl.getUnreadCount(feed.id) > 0
+ unread: feedBl.getUnreadCount(feed.id) > 0,
+ failed: feed.error
}"
ng-repeat="feed in feedBl.getFeedsOfFolder(<?php p($_['folderId']); ?>)"
ng-show="feedBl.isVisible(feed.id)"
@@ -13,10 +14,15 @@
axis: 'y',
helper: 'clone'
}">
- <a ng-style="{ backgroundImage: feed.faviconLink }"
- href="#"
- class="title"
- ng-click="feedBl.load(feed.id)">
+ <a ng-style="{ backgroundImage: feed.faviconLink }"
+ ng-click="feedBl.load(feed.id)"
+ ng-class="{
+ progress-icon: !feed.id,
+ problem-icon: feed.error
+ }"
+ href="#"
+ class="title">
+
{{ feed.title }}
</a>
@@ -36,4 +42,7 @@
title="<?php p($l->t('Delete feed')); ?>"></button>
</span>
+
+ <div class="message" ng-show="feed.error">{{ feed.error }}</div>
</li>
+