Create a common repo-list-view control and use it everywhere
This allows users to choose grid view or table view in all repo lists Fixes #732
This commit is contained in:
parent
16f16e8a15
commit
3da8814787
13 changed files with 115 additions and 77 deletions
|
@ -13,7 +13,8 @@ angular.module('quay').directive('repoListGrid', function () {
|
|||
starred: '=starred',
|
||||
namespace: '=namespace',
|
||||
starToggled: '&starToggled',
|
||||
hideTitle: '=hideTitle'
|
||||
hideTitle: '=hideTitle',
|
||||
hideNamespaces: '=hideNamespaces'
|
||||
},
|
||||
controller: function($scope, $element, UserService) {
|
||||
$scope.isOrganization = function(namespace) {
|
||||
|
|
Reference in a new issue