discourse/app/assets/javascripts/admin/templates/components/site-setting.hbs
2015-05-28 11:35:02 -04:00

15 lines
442 B
Handlebars

<div class='setting-label'>
<h3>{{unbound settingName}}</h3>
</div>
<div class="setting-value">
{{partial partialName}}
</div>
{{#if dirty}}
<div class='setting-controls'>
{{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}}
{{d-button action="resetDefault" icon="undo" label="admin.site_settings.reset"}}
{{/if}}