summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/part.listfeed.php1
-rw-r--r--templates/part.listfolder.php1
2 files changed, 2 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>
diff --git a/templates/part.listfolder.php b/templates/part.listfolder.php
index 836f80116..fe7051258 100644
--- a/templates/part.listfolder.php
+++ b/templates/part.listfolder.php
@@ -28,6 +28,7 @@
title="<?php p($l->t('Delete folder')); ?>"></button>
<button class="svg action mark-read-icon"
+ ng-show="getUnreadCount(feedType.Feed, feed.id)>0"
ng-click="markAllRead(feedType.Folder, folder.id)"
title="<?php p($l->t('Mark all read')); ?>"></button>