summaryrefslogtreecommitdiffstats
path: root/templates/part.feed.unread.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-02-12 01:35:14 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-02-12 01:35:14 +0100
commitf9f627bd7482fd8390407bc9989e27856c2705af (patch)
treee5d271202eb2b206c9ab50634b6268fd0eb0c1a7 /templates/part.feed.unread.php
parent5fa3d41316a583c4d436b327a0d2044093dffa12 (diff)
show unread and all now change the caption of the feed that shows all items
Diffstat (limited to 'templates/part.feed.unread.php')
-rw-r--r--templates/part.feed.unread.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/templates/part.feed.unread.php b/templates/part.feed.unread.php
index 559a96a90..a9ed104c6 100644
--- a/templates/part.feed.unread.php
+++ b/templates/part.feed.unread.php
@@ -5,8 +5,15 @@
ng-show="isShown(feedType.Subscriptions, 0)">
<a class="rss-icon"
href="#"
+ ui-if="getShowAll()==false"
ng-click="loadFeed(feedType.Subscriptions, 0)">
- <?php p($l->t('New articles'))?>
+ <?php p($l->t('Unread articles'))?>
+ </a>
+ <a class="rss-icon"
+ href="#"
+ ui-if="getShowAll()==true"
+ ng-click="loadFeed(feedType.Subscriptions, 0)">
+ <?php p($l->t('All articles'))?>
</a>
<span class="utils">
<button class="svg action mark-read-icon"