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">
|
2014-06-11 10:57:30 -04:00
|
|
|
{{combo-box valueAttribute="value" content=validValues value=value none=allowsNone}}
|
2015-01-28 22:53:02 -05:00
|
|
|
{{view.preview}}
|
2013-07-24 17:15:21 -04:00
|
|
|
<div class='desc'>{{unbound description}}</div>
|
|
|
|
</div>
|
|
|
|
{{#if dirty}}
|
2013-11-15 15:22:42 -05:00
|
|
|
<div class='setting-controls'>
|
2014-09-30 16:04:04 -04: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-12-08 16:35:49 -05: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}}
|