summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/part.feed.unread.php3
-rw-r--r--templates/part.listfeed.php2
-rw-r--r--templates/part.listfolder.php3
3 files changed, 5 insertions, 3 deletions
diff --git a/templates/part.feed.unread.php b/templates/part.feed.unread.php
index 03ec2754d..0c6527af3 100644
--- a/templates/part.feed.unread.php
+++ b/templates/part.feed.unread.php
@@ -16,7 +16,8 @@
<?php p($l->t('All articles'))?>
</a>
<span class="utils">
- <span class="unread-counter">
+ <span class="unread-counter"
+ ng-show="subscriptionsBusinessLayer.getUnreadCount() > 0">
{{ subscriptionsBusinessLayer.getUnreadCount() }}
</span>
<button class="svg action mark-read-icon"
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php
index 6ab8751ad..1a56febf2 100644
--- a/templates/part.listfeed.php
+++ b/templates/part.listfeed.php
@@ -29,7 +29,7 @@
<span class="utils">
<span class="unread-counter"
- ng-show="feed.id">
+ ng-show="feed.id && feedBusinessLayer.getUnreadCount(feed.id) > 0">
{{ feedBusinessLayer.getUnreadCount(feed.id) }}
</span>
diff --git a/templates/part.listfolder.php b/templates/part.listfolder.php
index 63752521d..4266b4814 100644
--- a/templates/part.listfolder.php
+++ b/templates/part.listfolder.php
@@ -30,7 +30,8 @@
class="svg action delete-icon"
title="<?php p($l->t('Delete folder')); ?>"></button>
- <span class="unread-counter">
+ <span class="unread-counter"
+ ng-show="folderBusinessLayer.getUnreadCount(folder.id) > 0">
{{ folderBusinessLayer.getUnreadCount(folder.id) }}
</span>