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