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:
Jared Tabor 2014-12-12 11:44:29 -05:00
parent 696e356fd1
commit c0f4f7185b

View File

@ -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 ' +