mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 03:47:36 -02:30
Made SCM update button disabled on edit projects
On the edits project page I disabled the button if the SCM type is manual.
This commit is contained in:
@@ -32,7 +32,8 @@ angular.module('ProjectFormDefinition', ['SchedulesListDefinition'])
|
||||
awToolTip: "{{ scm_update_tooltip }}",
|
||||
dataTipWatch: "scm_update_tooltip",
|
||||
ngClass: "scm_type_class",
|
||||
dataPlacement: 'top'
|
||||
dataPlacement: 'top',
|
||||
ngDisabled: "scm_type.value === 'manual' "
|
||||
},
|
||||
stream: {
|
||||
'class': "btn-primary btn-xs activity-btn",
|
||||
|
||||
Reference in New Issue
Block a user