summaryrefslogtreecommitdiffstats
path: root/templates/part.listfeed.php
blob: ed75bc0a6181417db023d0609f5e61e239075036 (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
<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">

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

		<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>

	</span>
</li>