forked from Archives/Athou_commafeed
display link to feed source (fix #355)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user