mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 08:37:48 -02:30
AC-395 Changed txt of 'No unassigned playbook directories' message. Message now displays in the form rather than via a modal dialog. The message is only displayed when scm_type is manual and all project directories are already assigned.
This commit is contained in:
@@ -337,6 +337,15 @@ angular.module('FormGenerator', ['GeneratorHelpers', 'ngCookies'])
|
||||
|
||||
var html = '';
|
||||
|
||||
if (field.type == 'alertblock') {
|
||||
html += "<div class=\"alert alert-dismissable " + field['class'] + "\" ";
|
||||
html += (field.ngShow) ? this.attr(field, 'ngShow') : "";
|
||||
html += ">\n";
|
||||
html += "<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>\n";
|
||||
html += field.alertTxt;
|
||||
html += "</div>\n";
|
||||
}
|
||||
|
||||
if (field.type == 'hidden') {
|
||||
if ( (options.mode == 'edit' && field.includeOnEdit) ||
|
||||
(options.mode == 'add' && field.includeOnAdd) ) {
|
||||
|
||||
Reference in New Issue
Block a user