From d0272a912de9908021be80e593ef89bc731e378b Mon Sep 17 00:00:00 2001 From: Tim Gerla Date: Thu, 21 May 2015 16:09:52 -0400 Subject: [PATCH] tweak the 'unassigned project directories' wording --- awx/ui/static/js/forms/Projects.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/awx/ui/static/js/forms/Projects.js b/awx/ui/static/js/forms/Projects.js index e56095bcf3..3e54b43d61 100644 --- a/awx/ui/static/js/forms/Projects.js +++ b/awx/ui/static/js/forms/Projects.js @@ -96,12 +96,10 @@ angular.module('ProjectFormDefinition', ['SchedulesListDefinition']) type: 'alertblock', "class": 'alert-info', 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 ' + - 'changing the SCM type option rather than specifying checkout paths manually. To continue with manual setup, log into ' + - 'the Tower host and ensure content is present in a subdirectory under {{ base_dir }}. Run "chown -R awx" on the content ' + - 'directory to ensure Tower can read the playbooks.

', + alertTxt: '

WARNING: There are no available playbook directories in {{ base_dir }}.' + + 'Either that directory is empty, or all of the contents are already assigned to other projects.' + + 'Create a new directory there and make sure the playbook files can be read by the "awx" system user, ' + + 'or have Tower directly retrieve your playbooks from source control using the SCM Type option above.

', closeable: false }, base_dir: {