summaryrefslogtreecommitdiffstats
path: root/templates/part.listfeed.php
blob: 73087af28e0805004e8539f6123e646cb8c03d31 (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
35
36
37
38
39
<li ng-class="{
		active: feedBl.isActive(feed.id), 
		unread: feedBl.getUnreadCount(feed.id) > 0
	}" 
	ng-repeat="feed in feedBl.getFeedsOfFolder(<?php p($_['folderId']); ?>)"
	ng-show="feedBl.isVisible(feed.id)"
	data-id="{{ feed.id }}"
	class="feed"
	oc-draggable="{
		revert: true,
		stack: '> li',
		zIndex: 1000,
		axis: 'y',
		helper: 'clone'
	}">
	<a ng-style="{ backgroundImage: feed.faviconLink }"
	   href="#"
	   class="title"
	   ng-click="feedBl.load(feed.id)">
	   {{ feed.title }}
	</a>
	
	<span class="utils">

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

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

	</span>
</li>