display link to feed source (fix #355)

This commit is contained in:
Athou
2013-07-08 09:37:34 +02:00
parent 5af7a7fc7b
commit 4d8f0865ba
4 changed files with 23 additions and 7 deletions

View File

@@ -639,9 +639,9 @@ function($scope, $state, $filter, $timeout, CategoryService) {
}]);
module.controller('FeedListCtrl', ['$scope', '$stateParams', '$http', '$route',
module.controller('FeedListCtrl', ['$scope', '$stateParams', '$http', '$route', '$state',
'$window', 'EntryService', 'SettingsService', 'FeedService', 'CategoryService', 'AnalyticsService',
function($scope, $stateParams, $http, $route, $window, EntryService, SettingsService, FeedService, CategoryService, AnalyticsService) {
function($scope, $stateParams, $http, $route, $state, $window, EntryService, SettingsService, FeedService, CategoryService, AnalyticsService) {
AnalyticsService.track();
@@ -723,6 +723,13 @@ function($scope, $stateParams, $http, $route, $window, EntryService, SettingsSer
}, callback);
}
};
$scope.goToFeed = function(id) {
$state.transitionTo('feeds.view', {
_type : 'feed',
_id : id
});
};
$scope.mark = function(entry, read) {
if (entry.read != read) {