mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
Merge pull request #5263 from jaredevantabor/notification-toggles
Notification toggles
This commit is contained in:
commit
c82e86cc78
@ -507,10 +507,10 @@ angular.module('GeneratorHelpers', [systemStatus.name])
|
||||
} else if (field.type === 'toggle') {
|
||||
html += "<td class=\"List-tableCell " + fld + "-column";
|
||||
html += (field['class']) ? " " + field['class'] : "";
|
||||
html += " " + field.columnClass;
|
||||
html += field.columnClass ? " " + field.columnClass : "";
|
||||
html += "\"><div class='ScheduleToggle' ng-class='{\"is-on\": " + list.iterator + ".";
|
||||
html += (field.flag) ? field.flag : "enabled\}' ";
|
||||
html += "aw-tool-tip='" + field.awToolTip + "' data-placement='" + field.dataPlacement + "' data-tip-watch='" + field.dataTipWatch + "'><button ";
|
||||
html += (field.flag) ? field.flag : "enabled";
|
||||
html += "\}' aw-tool-tip='" + field.awToolTip + "' data-placement='" + field.dataPlacement + "' data-tip-watch='" + field.dataTipWatch + "'><button ";
|
||||
html += (field.ngDisabled) ? `ng-disabled="${field.ngDisabled}" ` : "";
|
||||
html += "ng-show='" + list.iterator + "." ;
|
||||
html += (field.flag) ? field.flag : 'enabled';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user