diff --git a/src/theme.scss b/src/theme.scss index c27ce5224..d9201c962 100644 --- a/src/theme.scss +++ b/src/theme.scss @@ -796,6 +796,11 @@ multiselect { margin-top: 65px; width: calc(100% - 30px); // -30px to offset .row margins max-width: 1200px; + + h2 { + font-size: 20px; + margin-top: 10px; + } } .appstore-item { diff --git a/src/views/appstore.html b/src/views/appstore.html index 6049d4f86..e8a3672ae 100644 --- a/src/views/appstore.html +++ b/src/views/appstore.html @@ -265,10 +265,9 @@
-
-
+

{{ 'appstore.category.all' | tr }}

diff --git a/src/views/appstore.js b/src/views/appstore.js index 05674836d..f7941e077 100644 --- a/src/views/appstore.js +++ b/src/views/appstore.js @@ -80,7 +80,6 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$tran if (category === 'new') return categoryLabel; if (category === 'recent') return categoryLabel; - if (category === 'featured') return categoryLabel; var tmp = $scope.categories.find(function (c) { return c.id === category; }); if (tmp) return tmp.label; @@ -475,9 +474,6 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$tran if (!$scope.category) { $scope.apps = apps.slice(0).filter(function (app) { return !app.featured; }).sort(function (a1, a2) { return a1.manifest.title.localeCompare(a2.manifest.title); }); $scope.popularApps = apps.slice(0).filter(function (app) { return app.featured; }).sort(function (a1, a2) { return a2.ranking - a1.ranking; }); - // $scope.apps = apps.slice(0).sort(function (a1, a2) { return a1.manifest.title.localeCompare(a2.manifest.title); }); - } else if ($scope.category === 'featured') { - $scope.apps = apps.filter(function (app) { return app.featured; }).sort(function (a1, a2) { return a2.ranking - a1.ranking; }); // reverse sort } else if ($scope.category === 'new') { $scope.apps = filterForNewApps(apps); } else if ($scope.category === 'recent') {