diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-16 15:19:05 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-16 15:23:12 +0200 |
commit | dee17d002d87667f7d0f4478e1f0180135618c38 (patch) | |
tree | d71c6896bd558b28fa16af0c424b2f4d1aca768c /templates | |
parent | 8df6d36d49d89f3bb7186b36436606adb039b3f8 (diff) |
dont show unread count when it is 0, dont bold read feeds, implemented autopaging
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.feed.unread.php | 3 | ||||
-rw-r--r-- | templates/part.listfeed.php | 2 | ||||
-rw-r--r-- | templates/part.listfolder.php | 3 |
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> |