summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2012-10-31 01:17:37 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2012-10-31 01:17:37 +0100
commit1378ff21cea89531d1d59e656fd32cf5d149f5f4 (patch)
tree6dd58872c0354b680663dc16e924cb40311bbea3 /templates
parente00bc4b65f3bb89ba55bd314167431170872563b (diff)
set unread items correctly for new items and starred items
Diffstat (limited to 'templates')
-rw-r--r--templates/part.feeds.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/part.feeds.php b/templates/part.feeds.php
index c2b129ee8..553e45f74 100644
--- a/templates/part.feeds.php
+++ b/templates/part.feeds.php
@@ -46,6 +46,7 @@ $starredCount = $_['starredCount'];
<li class="subscriptions <?php if($lastViewedFeedType == OCA\News\FeedType::SUBSCRIPTIONS) { echo "active"; }; ?>">
<a class="title" href="#" ><?php echo $l->t('New articles'); ?></a>
+ <span class="unread_items_counter"><?php echo $starredCount ?></span>
<span class="buttons">
<button class="svg action feeds_markread" title="<?php echo $l->t('Mark all read'); ?>"></button>
</span>