diff --git a/src/main/resources/i18n/en.properties b/src/main/resources/i18n/en.properties index e63c260d..78d95960 100644 --- a/src/main/resources/i18n/en.properties +++ b/src/main/resources/i18n/en.properties @@ -45,6 +45,7 @@ toolbar.about=About toolbar.logout=Logout toolbar.donate=Donate +view.entry_source=from view.entry_author=by view.error_while_loading_feed=Error while loading this feed view.keep_unread=Keep unread diff --git a/src/main/webapp/js/controllers.js b/src/main/webapp/js/controllers.js index ee786fc1..6882316c 100644 --- a/src/main/webapp/js/controllers.js +++ b/src/main/webapp/js/controllers.js @@ -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) { diff --git a/src/main/webapp/sass/components/_entry-list.scss b/src/main/webapp/sass/components/_entry-list.scss index 3370f038..54eddfd7 100644 --- a/src/main/webapp/sass/components/_entry-list.scss +++ b/src/main/webapp/sass/components/_entry-list.scss @@ -133,7 +133,7 @@ font-weight: bold; } -#feed-accordion .entry-body .entry-author { +#feed-accordion .entry-body .entry-subtitle { display: block; font-size: 14px; font-weight: normal; diff --git a/src/main/webapp/templates/feeds.view.html b/src/main/webapp/templates/feeds.view.html index a1ef5b18..3f086921 100644 --- a/src/main/webapp/templates/feeds.view.html +++ b/src/main/webapp/templates/feeds.view.html @@ -43,10 +43,18 @@
- +
+ + ${view.entry_source} + + {{entry.feedName}} + + + +