summaryrefslogtreecommitdiffstats
path: root/templates/part.showall.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-03-26 18:04:02 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-03-26 18:04:02 +0100
commitc8d3f8fb4681f6993f1c9389e507df0724f56579 (patch)
tree312b48cdbc17c23d1e7aac6513f40e0a5813fdbf /templates/part.showall.php
parent8e1e0f5281c1ee49fe7f6d84ba8f2b709ebf7f40 (diff)
added casting information for data objects
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 61f9cc11d..6d7473e43 100644
--- a/templates/part.showall.php
+++ b/templates/part.showall.php
@@ -1,7 +1,7 @@
-<li ui-if="!isShowAll()" class="show-all">
+<li ui-if="!isShowAll() && isShown(feedType.Subscributions, 0)" class="show-all">
<a ng-click="setShowAll(true)" href="#"><?php p($l->t('Show all')); ?></a>
</li>
-<li ui-if="isShowAll()" class="show-all">
+<li ui-if="isShowAll() && isShown(feedType.Subscributions, 0)" class="show-all">
<a ng-click="setShowAll(false)" href="#"><?php p($l->t('Show only unread')); ?></a>
</li>