diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-15 16:02:32 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-15 16:02:32 +0200 |
commit | 464ff6c4c1bda3edbd0f132c4d3d866539d3a117 (patch) | |
tree | 96b8fd57e24ebaab762a190a933cd98e1c7a4881 /templates/part.listfeed.php | |
parent | 89c31ab5fcb2f931fecc5ce82608ff7c8129510a (diff) |
renamed bl to businesslayer, handle exception in update routine, fix #69
Diffstat (limited to 'templates/part.listfeed.php')
-rw-r--r-- | templates/part.listfeed.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php index 94fcb997b..550b437fd 100644 --- a/templates/part.listfeed.php +++ b/templates/part.listfeed.php @@ -1,10 +1,10 @@ <li ng-class="{ - active: feedBl.isActive(feed.id), - unread: feedBl.getUnreadCount(feed.id) > 0, + active: feedBusinessLayer.isActive(feed.id), + unread: feedBusinessLayer.getUnreadCount(feed.id) > 0, failed: feed.error }" - ng-repeat="feed in feedBl.getFeedsOfFolder(<?php p($_['folderId']); ?>)" - ng-show="feedBl.isVisible(feed.id) || !feed.id" + ng-repeat="feed in feedBusinessLayer.getFeedsOfFolder(<?php p($_['folderId']); ?>)" + ng-show="feedBusinessLayer.isVisible(feed.id) || !feed.id" data-id="{{ feed.id }}" class="feed" oc-draggable="{ @@ -15,7 +15,7 @@ helper: 'clone' }"> <a ng-style="{ backgroundImage: feed.faviconLink }" - ng-click="feedBl.load(feed.id)" + ng-click="feedBusinessLayer.load(feed.id)" ng-class="{ 'progress-icon': !feed.id, 'problem-icon': feed.error @@ -30,21 +30,21 @@ <span class="unread-counter" ng-show="feed.id"> - {{ feedBl.getUnreadCount(feed.id) }} + {{ feedBusinessLayer.getUnreadCount(feed.id) }} </span> <button class="svg action mark-read-icon" - ng-show="feedBl.getUnreadCount(feed.id) > 0 && feed.id" - ng-click="feedBl.markFeedRead(feed.id)" + ng-show="feedBusinessLayer.getUnreadCount(feed.id) > 0 && feed.id" + ng-click="feedBusinessLayer.markFeedRead(feed.id)" title="<?php p($l->t('Mark all read')); ?>"> </button> - <button ng-click="feedBl.delete(feed.id)" + <button ng-click="feedBusinessLayer.delete(feed.id)" class="svg action delete-icon" title="<?php p($l->t('Delete feed')); ?>" ng-show="feed.id"></button> <button class="svg action delete-icon" - ng-click="feedBl.markErrorRead(feed.urlHash)" + ng-click="feedBusinessLayer.markErrorRead(feed.urlHash)" title="<?php p($l->t('Delete website')); ?>" ng-show="feed.error"></button> </span> |