blob: ca49823f64526a8f667e4213d71f310b1f451bb2 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
<li ng-class="{
active: feedBusinessLayer.isActive(feed.id),
unread: feedBusinessLayer.getUnreadCount(feed.id) > 0,
failed: feed.error
}"
ng-repeat="feed in feedBusinessLayer.getFeedsOfFolder(<?php p($_['folderId']); ?>) | orderBy:'id':true"
ng-show="feedBusinessLayer.isVisible(feed.id) || !feed.id"
data-id="{{ feed.id }}"
class="feed"
oc-draggable="{
stack: '> li',
zIndex: 1000,
axis: 'y',
delay: 200,
containment: '#app-navigation ul',
scroll: true,
revert: true
}">
<a ng-style="{ backgroundImage: feed.faviconLink }"
ng-click="feedBusinessLayer.load(feed.id)"
ng-class="{
'progress-icon': !feed.id,
'problem-icon': feed.error
}"
href="#"
class="title"
title="{{ feed.title }}"
oc-click-focus="{selector: '#app-content'}">
{{ feed.title }}
</a>
<span class="utils">
<button ng-click="feedBusinessLayer.delete(feed.id)"
class="svg action delete-icon delete-button"
title="<?php p($l->t('Delete website')); ?>"
ng-show="feed.id"
oc-tooltip></button>
<span class="unread-counter"
ng-show="feed.id && feedBusinessLayer.getUnreadCount(feed.id) > 0">
{{ unreadCountFormatter(feedBusinessLayer.getUnreadCount(feed.id)) }}
</span>
<button class="svg action mark-read-icon"
ng-show="feedBusinessLayer.getUnreadCount(feed.id) > 0 && feed.id"
ng-click="feedBusinessLayer.markRead(feed.id)"
title="<?php p($l->t('Mark read')); ?>"
oc-tooltip></button>
<button class="svg action delete-icon"
ng-click="feedBusinessLayer.markErrorRead(feed.url)"
title="<?php p($l->t('Delete website')); ?>"
ng-show="feed.error"
oc-tooltip></button>
</span>
<div class="message" ng-show="feed.error">{{ feed.error }}</div>
</li>
|