summaryrefslogtreecommitdiffstats
path: root/templates/part.feed.unread.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-02-12 01:29:09 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-02-12 01:29:09 +0100
commit5fa3d41316a583c4d436b327a0d2044093dffa12 (patch)
tree0807f959aee0c33251782487e44868b7b8b27c48 /templates/part.feed.unread.php
parent8ac2aa3748ece701949b68d447fad35cbeec47f9 (diff)
brought back unread and starred feeds
Diffstat (limited to 'templates/part.feed.unread.php')
-rw-r--r--templates/part.feed.unread.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/templates/part.feed.unread.php b/templates/part.feed.unread.php
index 795ef3c2d..559a96a90 100644
--- a/templates/part.feed.unread.php
+++ b/templates/part.feed.unread.php
@@ -1,20 +1,19 @@
<li ng-class="{
active: isFeedActive(feedType.Subscriptions, 0),
- all_read: getUnreadCount(feedType.Subscriptions, 0)==0
+ unread: getUnreadCount(feedType.Subscriptions, 0)!=0
}"
- class="subscriptions"
ng-show="isShown(feedType.Subscriptions, 0)">
- <a class="title"
+ <a class="rss-icon"
href="#"
ng-click="loadFeed(feedType.Subscriptions, 0)">
<?php p($l->t('New articles'))?>
</a>
<span class="utils">
- <span class="unread-counter">
- {{ getUnreadCount(feedType.Starred, 0) }}
- </span>
<button class="svg action mark-read-icon"
ng-click="markAllRead(feedType.Subscriptions, 0)"
title="<?php p($l->t('Mark all read')) ?>"></button>
+ <span class="unread-counter">
+ {{ getUnreadCount(feedType.Subscriptions, 0) }}
+ </span>
</span>
</li> \ No newline at end of file