mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-14 20:11:48 -05:00
Added disabled tooltips in CTinT
This commit is contained in:
@@ -740,6 +740,10 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
|
||||
html += (field.awFeature) ? "aw-feature=\"" + field.awFeature + "\" " : "";
|
||||
html += ">\n";
|
||||
|
||||
var definedInFileMessage = i18n._('This setting has been set manually in a settings file and is now disabled.');
|
||||
html += (field.definedInFile) ?
|
||||
`<span class="Form-tooltip--disabled">${definedInFileMessage}</span>` : ``;
|
||||
|
||||
// toggle switches
|
||||
if(field.type === 'toggleSwitch') {
|
||||
html += label();
|
||||
|
||||
Reference in New Issue
Block a user