Show warning on wfjt form when the workflow contains deleted job templates

This commit is contained in:
mabashian
2018-04-17 16:57:28 -04:00
parent 1fc6a34e62
commit b37ee2f611
7 changed files with 210 additions and 146 deletions

View File

@@ -545,6 +545,8 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
html += "' ";
html += (field.ngDisabled) ? `ng-disabled="${field.ngDisabled}" ` : "";
html += " class='ScheduleToggle-switch' ng-click='" + field.ngClick + "' translate>" + i18n._("OFF") + "</button></div></div>";
} else if (field.type === 'html') {
html += field.html;
}
return html;
},