'Recently updated' becomes 'popular' used to be 'featured'
This commit is contained in:
@@ -277,8 +277,8 @@
|
||||
<div ng-show="ready && validSubscription" class="ng-cloak appstore-toolbar">
|
||||
<div class="appstore-toolbar-content">
|
||||
<button class="btn" type="button" ng-click="showCategory('');">All</button>
|
||||
<button class="btn" type="button" ng-click="showCategory('featured');">Popular</button>
|
||||
<button class="btn" type="button" ng-click="showCategory('new');">New Apps</button>
|
||||
<button class="btn" type="button" ng-click="showCategory('recent');">Recently Updated</button>
|
||||
<div class="dropdown">
|
||||
<button class="btn dropdown-toggle" type="button" data-toggle="dropdown">
|
||||
Categories
|
||||
|
||||
@@ -62,6 +62,7 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca
|
||||
$scope.categoryLabel = function (category) {
|
||||
if (category === 'new') return 'New Apps';
|
||||
if (category === 'recent') return 'Recently Updated';
|
||||
if (category === 'featured') return 'Popular Apps';
|
||||
|
||||
var tmp = $scope.categories.find(function (c) { return c.id === category; });
|
||||
if (tmp) return tmp.label;
|
||||
|
||||
Reference in New Issue
Block a user