Add UI for viewing and setting the description of a robot account
This commit is contained in:
parent
254cdfe43a
commit
96fafcdffb
5 changed files with 24 additions and 3 deletions
|
@ -15,6 +15,7 @@ angular.module('quay').directive('createEntityDialog', function () {
|
|||
'entityTitle': '@entityTitle',
|
||||
'entityIcon': '@entityIcon',
|
||||
'entityNameRegex': '@entityNameRegex',
|
||||
'allowEntityDescription': '@allowEntityDescription',
|
||||
|
||||
'entityCreateRequested': '&entityCreateRequested',
|
||||
'entityCreateCompleted': '&entityCreateCompleted'
|
||||
|
@ -41,6 +42,7 @@ angular.module('quay').directive('createEntityDialog', function () {
|
|||
|
||||
$scope.show = function() {
|
||||
$scope.entityName = null;
|
||||
$scope.entityDescription = null;
|
||||
$scope.entity = null;
|
||||
$scope.entityForPermissions = null;
|
||||
$scope.creating = false;
|
||||
|
@ -67,6 +69,7 @@ angular.module('quay').directive('createEntityDialog', function () {
|
|||
$scope.view = 'creating';
|
||||
$scope.entityCreateRequested({
|
||||
'name': $scope.entityName,
|
||||
'description': $scope.entityDescription,
|
||||
'callback': entityCreateCallback
|
||||
});
|
||||
};
|
||||
|
|
Reference in a new issue