Merge branch 'pagesnew' into star
This commit is contained in:
commit
3dbaafbd60
148 changed files with 10997 additions and 10293 deletions
18
static/js/directives/ui/repo-list-grid.js
Normal file
18
static/js/directives/ui/repo-list-grid.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
/**
|
||||
* An element that displays a list of repositories in a grid.
|
||||
*
|
||||
*/
|
||||
angular.module('quay').directive('repoListGrid', function() {
|
||||
return {
|
||||
templateUrl: '/static/directives/repo-list-grid.html',
|
||||
priority: 0,
|
||||
restrict: 'C',
|
||||
scope: {
|
||||
repositories: '=repositories',
|
||||
starred: '=starred',
|
||||
user: "=user",
|
||||
namespace: '=namespace',
|
||||
toggleStar: '&toggleStar'
|
||||
},
|
||||
};
|
||||
});
|
Reference in a new issue