mirror of
https://github.com/ansible/awx.git
synced 2026-07-12 00:44:36 -02:30
AC-550 When user views inventory update status (by clicking on the status link) an alert at the top of the dialog will show when the error is caused by a license violation.
This commit is contained in:
@@ -437,10 +437,13 @@ angular.module('FormGenerator', ['GeneratorHelpers', 'ngCookies', 'Utilities'])
|
||||
var html = '';
|
||||
|
||||
if (field.type == 'alertblock') {
|
||||
html += "<div class=\"alert alert-dismissable " + field['class'] + "\" ";
|
||||
html += "<div class=\"alert ";
|
||||
html += (field.closeable == undefined || field.closeable == true) ? "alert-dismissable " : "";
|
||||
html += 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.closeable == undefined || field.closeable == true) ?
|
||||
"<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>\n" : "";
|
||||
html += field.alertTxt;
|
||||
html += "</div>\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user