summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-20 01:40:03 -0700
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-20 01:40:03 -0700
commit0f923e0f4900efa1b12125112fb5c05ccb971ed9 (patch)
tree5697ae30d72490c7f8ec4c6bfeb598cedcfbfc0e /templates
parentc22792cf56012f2cbf9941c6316a00d3a39aef9f (diff)
parentc1c1b7a5b0ff7bb63525a214836b1d4a26d22647 (diff)
Merge pull request #96 from houqp/houqp-master
add draggable delay to feedlist item
Diffstat (limited to 'templates')
-rw-r--r--templates/part.listfeed.php15
1 files changed, 8 insertions, 7 deletions
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php
index 310b8a5b5..149a328a4 100644
--- a/templates/part.listfeed.php
+++ b/templates/part.listfeed.php
@@ -1,8 +1,8 @@
<li ng-class="{
- active: feedBusinessLayer.isActive(feed.id),
+ 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 }}"
@@ -12,6 +12,7 @@
stack: '> li',
zIndex: 1000,
axis: 'y',
+ delay: 200,
helper: 'clone'
}">
<a ng-style="{ backgroundImage: feed.faviconLink }"
@@ -23,13 +24,13 @@
href="#"
class="title"
oc-click-focus="{selector: '#app-content'}">
-
+
{{ feed.title }}
</a>
-
+
<span class="utils">
- <span class="unread-counter"
+ <span class="unread-counter"
ng-show="feed.id && feedBusinessLayer.getUnreadCount(feed.id) > 0">
{{ feedBusinessLayer.getUnreadCount(feed.id) }}
</span>
@@ -39,9 +40,9 @@
ng-click="feedBusinessLayer.markFeedRead(feed.id)"
title="<?php p($l->t('Mark read')); ?>"
oc-tooltip></button>
-
+
<button ng-click="feedBusinessLayer.delete(feed.id)"
- class="svg action delete-icon"
+ class="svg action delete-icon"
title="<?php p($l->t('Delete feed')); ?>"
ng-show="feed.id"
oc-tooltip></button>