mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 05:29:17 -06:00
FIX: Allow HTML in site setting descriptions.
This commit is contained in:
parent
6e8be12816
commit
d9e2a685b2
@ -9,8 +9,6 @@
|
||||
{{d-button class="ok no-text" action="save" icon="check"}}
|
||||
{{d-button class="cancel no-text" action="cancel" icon="times"}}
|
||||
</div>
|
||||
{{else}}
|
||||
{{#if setting.overridden}}
|
||||
{{else if setting.overridden}}
|
||||
{{d-button action="resetDefault" icon="undo" label="admin.site_settings.reset"}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
@ -1,4 +1,4 @@
|
||||
<label>
|
||||
{{input type="checkbox" checked=enabled}}
|
||||
{{unbound setting.description}}
|
||||
{{{unbound setting.description}}}
|
||||
</label>
|
||||
|
@ -1,4 +1,4 @@
|
||||
{{combo-box valueAttribute="value" content=setting.validValues value=buffered.value none=setting.allowsNone}}
|
||||
{{preview}}
|
||||
{{setting-validation-message message=validationMessage}}
|
||||
<div class='desc'>{{unbound setting.description}}</div>
|
||||
<div class='desc'>{{{unbound setting.description}}}</div>
|
||||
|
@ -1,3 +1,3 @@
|
||||
{{list-setting settingValue=buffered.value choices=setting.choices settingName=setting.setting}}
|
||||
{{setting-validation-message message=validationMessage}}
|
||||
<div class='desc'>{{unbound setting.description}}</div>
|
||||
<div class='desc'>{{{unbound setting.description}}}</div>
|
||||
|
@ -1,3 +1,3 @@
|
||||
{{text-field value=buffered.value classNames="input-setting-string"}}
|
||||
{{setting-validation-message message=validationMessage}}
|
||||
<div class='desc'>{{unbound setting.description}}</div>
|
||||
<div class='desc'>{{{unbound setting.description}}}</div>
|
||||
|
@ -1,3 +1,3 @@
|
||||
{{url-list value=buffered.value}}
|
||||
{{setting-validation-message message=validationMessage}}
|
||||
<div class='desc'>{{unbound setting.description}}</div>
|
||||
<div class='desc'>{{{unbound setting.description}}}</div>
|
||||
|
Loading…
Reference in New Issue
Block a user