summaryrefslogtreecommitdiffstats
path: root/templates/part.feed.unread.php
blob: 32aa867e7c86615911cfdfd23972e6a78927c56c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<li ng-class="{
		active: isFeedActive(feedType.Subscriptions, 0),
		unread: getUnreadCount(feedType.Subscriptions, 0)!=0
	}" 
	ng-show="isShown(feedType.Subscriptions, 0)">
	<a class="rss-icon" 
	   href="#" 
	   ui-if="!isShowAll()"
	   ng-click="loadFeed(feedType.Subscriptions, 0)">
	   <?php p($l->t('Unread articles'))?>
	</a>
		<a class="rss-icon" 
	   href="#" 
	   ui-if="isShowAll()"
	   ng-click="loadFeed(feedType.Subscriptions, 0)">
	   <?php p($l->t('All articles'))?>
	</a>
	<span class="utils">
		<span class="unread-counter">
			{{ getUnreadCount(feedType.Subscriptions, 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>