summaryrefslogtreecommitdiffstats
path: root/templates/part.feed.unread.php
blob: a933a2f75a43c8fac0d15ad264dfbbee2b95809a (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
28
29
30
<li ng-class="{
		active: subscriptionsBusinessLayer.isActive(0),
		unread: getTotalUnreadCount() > 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)"
	   oc-click-focus="{selector: '#app-content'}">
	   <?php p($l->t('All articles'))?>
	</a>
	<span class="utils">
		<span class="unread-counter"
			ng-show="getTotalUnreadCount() > 0">
			{{ unreadCountFormatter(getTotalUnreadCount()) }}
		</span>
		<button class="svg action mark-read-icon" 
			ng-click="subscriptionsBusinessLayer.markRead()"
			title="<?php p($l->t('Mark read')) ?>"
			ng-show="getTotalUnreadCount() > 0"
			oc-tooltip data-placement="bottom"></button>
	</span>
</li>