diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-02-12 18:42:05 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-02-12 18:42:05 +0100 |
commit | 1488e54af95aeecd748e309edb0300efc110012c (patch) | |
tree | 2a6a8bf5318678a419236021d367eccb44aebfe1 | |
parent | 735b2ff157de8c52a7a8fe22088a932242753cca (diff) |
Whenever the feed is all read, the symbol of 'Mark all read' shouldn't be at the side the title of the feed.
-rw-r--r-- | templates/part.listfeed.php | 1 | ||||
-rw-r--r-- | templates/part.listfolder.php | 1 |
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> |