2015-03-03 01:12:19 +08:00
|
|
|
<div class='setting-label'>
|
|
|
|
<h3>{{unbound settingName}}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value">
|
2018-06-02 21:57:52 +08:00
|
|
|
{{component componentName setting=setting value=buffered.value validationMessage=validationMessage preview=preview isSecret=isSecret}}
|
2015-03-03 01:12:19 +08:00
|
|
|
</div>
|
|
|
|
{{#if dirty}}
|
|
|
|
<div class='setting-controls'>
|
2015-07-31 00:31:14 +08:00
|
|
|
{{d-button class="ok" action="save" icon="check"}}
|
|
|
|
{{d-button class="cancel" action="cancel" icon="times"}}
|
2015-03-03 01:12:19 +08:00
|
|
|
</div>
|
2015-05-28 23:34:44 +08:00
|
|
|
{{else if setting.overridden}}
|
2018-06-02 21:57:52 +08:00
|
|
|
{{#if setting.secret}}
|
|
|
|
{{d-button action="toggleSecret" icon="eye-slash"}}
|
|
|
|
{{/if}}
|
2018-03-05 08:04:23 +08:00
|
|
|
{{d-button action="resetDefault" icon="undo" label="admin.settings.reset"}}
|
2015-03-03 01:12:19 +08:00
|
|
|
{{/if}}
|