From c0f4f7185b9251bba39c30be60d2df6bd942bd0e Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Fri, 12 Dec 2014 11:44:29 -0500 Subject: [PATCH] Projects/add With fixes to the manual scm type, if the local path returns no playbooks then an error message should be shown. --- awx/ui/static/js/forms/Projects.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/static/js/forms/Projects.js b/awx/ui/static/js/forms/Projects.js index e2ab63dc20..e9822ccc66 100644 --- a/awx/ui/static/js/forms/Projects.js +++ b/awx/ui/static/js/forms/Projects.js @@ -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: '

WARNING: 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 ' +