summaryrefslogtreecommitdiffstats
path: root/templates/part.listfeed.php
blob: a6193afe79aa43b06eee0bdf95083002d9177b36 (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
31
32
33
34
<li ng-class="{
		active: isFeedActive(feedType.Feed, feed.id), 
		unread: feed.unreadCount!=0
	}" 
	ng-repeat="feed in getFeedsOfFolder(<?php p($_['folderId']); ?>)"
	ng-show="isShown(feedType.Feed, feed.id)"
	data-id="{{feed.id}}"
	class="feed"
	draggable>
	<a ng-style="{backgroundImage: feed.faviconLink}"
	   href="#"
	   class="title"
	   ng-click="loadFeed(feedType.Feed, feed.id)">
	   {{feed.name}}
	</a>
	
	<span class="utils">
		<button ng-click="delete(feedType.Feed, feed.id)"
			class="svg action delete-icon" 
			title="<?php p($l->t('Delete feed')); ?>"></button>

		<span class="unread-counter">
			{{ getUnreadCount(feedType.Feed, feed.id) }}
		</span>

		<button class="svg action mark-read-icon"
			ng-show="getUnreadCount(feedType.Feed, feed.id)>0"
			ng-click="markAllRead(feedType.Feed, feed.id)"
			title="<?php p($l->t('Mark all read')); ?>"></button>



	</span>
</li>