Move all controllers into page definitions and add support for layout profiles
This commit is contained in:
parent
f650479266
commit
d6d11644d8
34 changed files with 3744 additions and 3428 deletions
13
static/js/pages/organizations.js
Normal file
13
static/js/pages/organizations.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
(function() {
|
||||
/**
|
||||
* Page which displays the list of organizations of which the user is a member.
|
||||
*/
|
||||
angular.module('quayPages').config(['pages', function(pages) {
|
||||
pages.create('organizations', 'organizations.html', OrgsCtrl);
|
||||
}]);
|
||||
|
||||
function OrgsCtrl($scope, UserService) {
|
||||
UserService.updateUserIn($scope);
|
||||
browserchrome.update();
|
||||
}
|
||||
})();
|
Reference in a new issue