Debug User Cert create modal.
This commit is contained in:
parent
c4d208e457
commit
69b84cb134
|
@ -80,6 +80,7 @@
|
|||
.error(function() {
|
||||
toastService.add('error', gettext('Unable to revoke the certificate.'));
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* @name list
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
|
||||
action.$inject = [
|
||||
'$q',
|
||||
'tatudashboard.resources.os-tatu-user.actions.common-forms',
|
||||
'tatudashboard.resources.os-tatu-user.api',
|
||||
'tatudashboard.resources.os-tatu-user.resourceType',
|
||||
'horizon.app.core.openstack-service-api.policy',
|
||||
|
@ -42,7 +41,6 @@
|
|||
* Brings up the Create User modal.
|
||||
*/
|
||||
function action($q,
|
||||
forms,
|
||||
api,
|
||||
resourceTypeName,
|
||||
policy,
|
||||
|
@ -79,7 +77,7 @@
|
|||
}
|
||||
|
||||
function perform() {
|
||||
var formConfig = forms.getCreateFormConfig();
|
||||
var formConfig = getCreateFormConfig();
|
||||
formConfig.title = title;
|
||||
return schemaFormModalService.open(formConfig).then(onSubmit, onCancel);
|
||||
}
|
||||
|
@ -134,7 +132,8 @@
|
|||
"description": gettext("The user's SSH public key."),
|
||||
"required": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"model": { }
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,7 +27,8 @@
|
|||
*/
|
||||
angular
|
||||
.module('tatudashboard.resources.os-tatu-user', [
|
||||
'ngRoute'
|
||||
'ngRoute',
|
||||
'tatudashboard.resources.os-tatu-user.actions'
|
||||
])
|
||||
.constant(
|
||||
'tatudashboard.resources.os-tatu-user.resourceType', 'OS::Tatu::User')
|
||||
|
|
Loading…
Reference in New Issue