mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
Merge pull request #1727 from jlmitch5/33appfieldupdates
app field updates
This commit is contained in:
commit
adfe44a761
@ -46,7 +46,6 @@ function AddApplicationsController (models, $state, strings) {
|
||||
|
||||
vm.form.name.required = true;
|
||||
vm.form.organization.required = true;
|
||||
vm.form.redirect_uris.required = true;
|
||||
|
||||
delete vm.form.name.help_text;
|
||||
|
||||
|
@ -14,9 +14,9 @@
|
||||
<at-input-text col="4" tab="2" state="vm.form.description"></at-input-text>
|
||||
<at-input-lookup col="4" tab="3" state="vm.form.organization"></at-input-lookup>
|
||||
<at-divider></at-divider>
|
||||
<at-input-text col="4" tab="4" state="vm.form.redirect_uris"></at-input-text>
|
||||
<at-input-select col="4" tab="5" state="vm.form.client_type"></at-input-select>
|
||||
<at-input-select col="4" tab="6" state="vm.form.authorization_grant_type"></at-input-select>
|
||||
<at-input-select col="4" tab="4" state="vm.form.authorization_grant_type"></at-input-select>
|
||||
<at-input-text col="4" tab="5" state="vm.form.redirect_uris"></at-input-text>
|
||||
<at-input-select col="4" tab="6" state="vm.form.client_type"></at-input-select>
|
||||
|
||||
<at-action-group col="12" pos="right">
|
||||
<at-form-action type="cancel" to="applications"></at-form-action>
|
||||
|
@ -53,7 +53,6 @@ function EditApplicationsController (models, $state, strings, $scope) {
|
||||
vm.form.disabled = !isEditable;
|
||||
|
||||
vm.form.name.required = true;
|
||||
vm.form.redirect_uris.required = true;
|
||||
|
||||
const isOrgAdmin = _.some(me.get('related.admin_of_organizations.results'), (org) => org.id === organization.get('id'));
|
||||
const isSuperuser = me.get('is_superuser');
|
||||
|
Loading…
Reference in New Issue
Block a user