mirror of
https://github.com/ansible/awx.git
synced 2026-01-21 22:48:02 -03:30
Projects/add
With fixes to the manual scm type, if the local path returns no playbooks then an error message should be shown.
This commit is contained in:
parent
696e356fd1
commit
c0f4f7185b
@ -91,7 +91,7 @@ angular.module('ProjectFormDefinition', ['SchedulesListDefinition'])
|
||||
missing_path_alert: {
|
||||
type: 'alertblock',
|
||||
"class": 'alert-info',
|
||||
ngShow: "showMissingPlaybooksAlert && scm_type.value == ''",
|
||||
ngShow: "showMissingPlaybooksAlert && scm_type.value == 'manual'",
|
||||
alertTxt: '<p class=\"text-justify\"><strong>WARNING:</strong> There are no unassigned playbook directories in the base ' +
|
||||
'project path {{ base_dir }}. Either the projects directory is empty, or all of the contents are already assigned to ' +
|
||||
'other projects. New projects can be checked out from source control by ' +
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user