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:
Joseph Schorr 2015-12-28 16:29:17 -05:00
parent 16f16e8a15
commit 3da8814787
13 changed files with 115 additions and 77 deletions

View file

@ -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) {