FIX: Allow HTML in site setting descriptions.

This commit is contained in:
Robin Ward 2015-05-28 11:34:44 -04:00
parent 6e8be12816
commit d9e2a685b2
6 changed files with 7 additions and 9 deletions

View File

@ -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}}

View File

@ -1,4 +1,4 @@
<label>
{{input type="checkbox" checked=enabled}}
{{unbound setting.description}}
{{{unbound setting.description}}}
</label>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>