summaryrefslogtreecommitdiffstats
path: root/templates/part.feed.unread.php
blob: a9ed104c60986191b4981006778a52567d464828 (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="getShowAll()==false"
	   ng-click="loadFeed(feedType.Subscriptions, 0)">
	   <?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" 
			ng-click="markAllRead(feedType.Subscriptions, 0)"
			title="<?php p($l->t('Mark all read')) ?>"></button>
		<span class="unread-counter">
			{{ getUnreadCount(feedType.Subscriptions, 0) }}
		</span>
	</span>
</li>