summaryrefslogtreecommitdiffstats
path: root/templates/part.listfeed.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-02-12 18:42:05 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-02-12 18:42:05 +0100
commit1488e54af95aeecd748e309edb0300efc110012c (patch)
tree2a6a8bf5318678a419236021d367eccb44aebfe1 /templates/part.listfeed.php
parent735b2ff157de8c52a7a8fe22088a932242753cca (diff)
Whenever the feed is all read, the symbol of 'Mark all read' shouldn't be at the side the title of the feed.
Diffstat (limited to 'templates/part.listfeed.php')
-rw-r--r--templates/part.listfeed.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php
index dcf26508d..f6b4033ef 100644
--- a/templates/part.listfeed.php
+++ b/templates/part.listfeed.php
@@ -17,6 +17,7 @@
title="<?php p($l->t('Delete feed')); ?>"></button>
<button class="svg action mark-read-icon"
+ ng-show="getUnreadCount(feedType.Feed, feed.id)>0"
ng-click="markAllRead(feedType.Feed, feed.id)"
title="<?php p($l->t('Mark all read')); ?>"></button>