summaryrefslogtreecommitdiffstats
path: root/templates/part.listfeed.php
blob: 7b9f1b57f863958c62fbc8a34616cfafbbef7edf (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: isFeedActive(feedType.Feed, feed.id), unread: feed.unreadCount!=0}" 
    ng-repeat="feed in feeds|feedInFolder:<?php p($_['folderId']); ?>"
    ng-show="feed.show"
    data-id="{{feed.id}}"
    class="feed"
    draggable>
	<a ng-style="{backgroundImage: feed.icon}"
	   href="#"
	   class="title"
	   ng-click="loadFeed(feedType.Feed, feed.id)">
	   {{feed.name}}
	</a>
	
	<span class="utils">
		<span class="unread-counter">
		{{ getUnreadCount(feedType.Feed, feed.id) }}
		</span>
		
		<button ng-click="delete(feedType.Feed, feed.id)"
		        class="svg action delete-icon" 
		        title="<?php p($l->t('Delete feed')); ?>"></button>
		
		<button class="svg action mark-read-icon" 
		        ng-click="markAllRead(feedType.Feed, feed.id)"
		        title="<?php p($l->t('Mark all read')); ?>"></button>
	</span>
</li>