summaryrefslogtreecommitdiffstats
path: root/templates/part.showall.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-05 13:50:30 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-05 13:50:30 +0200
commit1a169b29c153389117f462f70c4d08cf91fc5dfb (patch)
treebb42c2e7907e2390fe04c40944e01d139865933d /templates/part.showall.php
parenta6d1cc915aed37ad6731ab28728d2f4e58f5b6da (diff)
fixed showall toggle and added methods to set items read and starred
Diffstat (limited to 'templates/part.showall.php')
-rw-r--r--templates/part.showall.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/part.showall.php b/templates/part.showall.php
index a99e821ee..404950986 100644
--- a/templates/part.showall.php
+++ b/templates/part.showall.php
@@ -1,7 +1,7 @@
-<li ui-if="!feedBl.isShowAll() && subscriptionsBl.isVisible(0)" class="show-all">
+<li ui-if="!feedBl.isShowAll() && feedBl.getNumberOfFeeds() > 0" class="show-all">
<a ng-click="feedBl.setShowAll(true)" href="#"><?php p($l->t('Show all')); ?></a>
</li>
-<li ui-if="feedBl.isShowAll() && subscriptionsBl.isVisible(0)" class="show-all">
+<li ui-if="feedBl.isShowAll() && feedBl.getNumberOfFeeds() > 0" class="show-all">
<a ng-click="feedBl.setShowAll(false)" href="#"><?php p($l->t('Show only unread')); ?></a>
</li>