mirror of
https://github.com/ansible/awx.git
synced 2026-08-05 12:30:02 -02:30
Fixed 'empty directory' warning on project detail page. The styling was off, and it was incorrectly displaying when scm_type was to empty.
This commit is contained in:
@@ -516,15 +516,20 @@ angular.module('FormGenerator', ['GeneratorHelpers', 'ngCookies', 'Utilities'])
|
||||
var horizontal = (this.form.horizontal) ? true : false;
|
||||
|
||||
if (field.type == 'alertblock') {
|
||||
html += "<div class=\"alert ";
|
||||
html += (field.closeable == undefined || field.closeable == true) ? "alert-dismissable " : "";
|
||||
html += field['class'] + "\" ";
|
||||
html += "<div class=\"row\">\n";
|
||||
html += "<div class=\"col-lg-8 col-lg-offset-2\">\n";
|
||||
html += "<div class=\"alert";
|
||||
html += (field.closeable == undefined || field.closeable == true) ? " alert-dismissable" : "";
|
||||
html += (field['class']) ? " " + field['class'] : "";
|
||||
html += "\" ";
|
||||
html += (field.ngShow) ? this.attr(field, 'ngShow') : "";
|
||||
html += ">\n";
|
||||
html += (field.closeable == undefined || field.closeable == true) ?
|
||||
"<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>\n" : "";
|
||||
html += field.alertTxt;
|
||||
html += "</div>\n";
|
||||
html += "</div>\n";
|
||||
html += "</div>\n";
|
||||
}
|
||||
|
||||
if (field.type == 'hidden') {
|
||||
|
||||
Reference in New Issue
Block a user