summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-20 15:54:34 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-20 15:54:34 +0200
commitf15d7d26e51503edc4a41edfdddee92a2aff8a19 (patch)
treebfbd3e360d5d588140106f935729f1752b0710ef /templates
parentafe9467f17147f63148cb0b8cb918bb3c2d724d7 (diff)
hide "Mark as read" when no unread items in All articles
Edit fix #100
Diffstat (limited to 'templates')
-rw-r--r--templates/part.feed.unread.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/part.feed.unread.php b/templates/part.feed.unread.php
index 026682b23..c5609f60a 100644
--- a/templates/part.feed.unread.php
+++ b/templates/part.feed.unread.php
@@ -24,6 +24,7 @@
<button class="svg action mark-read-icon"
ng-click="subscriptionsBusinessLayer.markAllRead()"
title="<?php p($l->t('Mark read')) ?>"
+ ng-show="getTotalUnreadCount() > 0"
oc-tooltip data-placement="bottom"></button>
</span>
</li> \ No newline at end of file