summaryrefslogtreecommitdiffstats
path: root/templates/part.feed.unread.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-02-11 15:30:31 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-02-11 15:30:55 +0100
commit5492e60510379add1523454f322def81167be8be (patch)
tree8fff208ff6492758cff1b17aae7ec02c797cd322 /templates/part.feed.unread.php
parente10d99e13da782e4c4bed03974bb10959ed333b4 (diff)
new style and style cleanup for the news app
Diffstat (limited to 'templates/part.feed.unread.php')
-rw-r--r--templates/part.feed.unread.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/part.feed.unread.php b/templates/part.feed.unread.php
new file mode 100644
index 000000000..9388bb1df
--- /dev/null
+++ b/templates/part.feed.unread.php
@@ -0,0 +1,20 @@
+<li ng-class="{
+ active: isFeedActive(feedType.Subscriptions, 0),
+ all_read: getUnreadCount(feedType.Subscriptions, 0)==0
+ }"
+ class="subscriptions"
+ ng-show="isShown(feedType.Subscriptions, 0)">
+ <a class="title"
+ href="#"
+ ng-click="loadFeed(feedType.Subscriptions, 0)">
+ <?php p($l->t('New articles'))?>
+ </a>
+ <span class="utils">
+ <span class="unread-counter">
+ {{ getUnreadCount(feedType.Starred, 0) }}
+ </span>
+ <button class="svg action mark-read-icon"
+ ng-click="markAllRead(feedType.Subscriptions, 0)"
+ title="<?php p($l->t('Mark all read')) ?>"></button>
+ </span>
+</li> \ No newline at end of file