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
|
|
|
{{combobox valueAttribute="value" content=validValues value=value none=allowsNone}}
|
|
|
|
<div class='desc'>{{unbound description}}</div>
|
|
|
|
</div>
|
|
|
|
{{#if dirty}}
|
2013-11-15 15:22:42 -05:00
|
|
|
<div class='setting-controls'>
|
2013-12-12 16:09:44 -05:00
|
|
|
<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>
|
2013-06-11 11:39:55 -04:00
|
|
|
</div>
|
2013-07-24 17:15:21 -04:00
|
|
|
{{else}}
|
|
|
|
{{#if overridden}}
|
2014-05-17 04:07:43 -04:00
|
|
|
<button class='btn' href='#' {{action resetDefault this}}><i class="fa fa-undo"></i>{{i18n admin.site_settings.reset}}</button>
|
2013-06-11 11:39:55 -04:00
|
|
|
{{/if}}
|
2013-07-24 17:15:21 -04:00
|
|
|
{{/if}}
|