summaryrefslogtreecommitdiffstats
path: root/templates/part.feed.unread.php
blob: 0c6527af3f51406ce4090d575b4338bab81d2819 (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
27
<li ng-class="{
		active: subscriptionsBusinessLayer.isActive(0),
		unread: subscriptionsBusinessLayer.getUnreadCount(0) > 0
	}" 
	ng-show="subscriptionsBusinessLayer.isVisible(0)">
	<a class="rss-icon" 
	   href="#" 
	   ui-if="!feedBusinessLayer.isShowAll()"
	   ng-click="subscriptionsBusinessLayer.load(0)">
	   <?php p($l->t('Unread articles'))?>
	</a>
		<a class="rss-icon" 
	   href="#" 
	   ui-if="feedBusinessLayer.isShowAll()"
	   ng-click="subscriptionsBusinessLayer.load(0)">
	   <?php p($l->t('All articles'))?>
	</a>
	<span class="utils">
		<span class="unread-counter"
			ng-show="subscriptionsBusinessLayer.getUnreadCount() > 0">
			{{ subscriptionsBusinessLayer.getUnreadCount() }}
		</span>
		<button class="svg action mark-read-icon" 
			ng-click="subscriptionsBusinessLayer.markAllRead()"
			title="<?php p($l->t('Mark all read')) ?>"></button>
	</span>
</li>