mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 11:27:36 -02: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:
@@ -91,7 +91,7 @@ angular.module('ProjectFormDefinition', ['SchedulesListDefinition'])
|
|||||||
missing_path_alert: {
|
missing_path_alert: {
|
||||||
type: 'alertblock',
|
type: 'alertblock',
|
||||||
"class": 'alert-info',
|
"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 ' +
|
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 ' +
|
'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 ' +
|
'other projects. New projects can be checked out from source control by ' +
|
||||||
|
|||||||
Reference in New Issue
Block a user