mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
f822491886
evnetually!
17 lines
671 B
Handlebars
17 lines
671 B
Handlebars
<div class='setting-label'>
|
|
<h3>{{unbound settingName}}</h3>
|
|
</div>
|
|
<div class="setting-value">
|
|
{{combo-box valueAttribute="value" content=validValues value=value none=allowsNone}}
|
|
<div class='desc'>{{unbound description}}</div>
|
|
</div>
|
|
{{#if dirty}}
|
|
<div class='setting-controls'>
|
|
<button class='btn ok no-text' {{action save this}}><i class='fa fa-check'></i></button>
|
|
<button class='btn cancel no-text' {{action cancel this}}><i class='fa fa-times'></i></button>
|
|
</div>
|
|
{{else}}
|
|
{{#if overridden}}
|
|
<button class='btn' href='#' {{action resetDefault this}}><i class="fa fa-undo"></i>{{i18n admin.site_settings.reset}}</button>
|
|
{{/if}}
|
|
{{/if}}
|