2013-11-15 15:22:42 -05:00
|
|
|
<div class='setting-label'>
|
2014-04-03 16:07:59 -04:00
|
|
|
<h3>{{unbound settingName}}</h3>
|
2013-07-24 17:15:21 -04:00
|
|
|
</div>
|
2013-11-15 15:22:42 -05:00
|
|
|
<div class="setting-value">
|
2013-07-24 17:15:21 -04:00
|
|
|
<label>
|
|
|
|
{{view Ember.Checkbox checkedBinding="enabled" value="true"}}
|
|
|
|
{{unbound description}}
|
|
|
|
</label>
|
|
|
|
</div>
|
2014-06-05 17:02:15 -04:00
|
|
|
{{#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}}
|