24 lines
739 B
Handlebars
24 lines
739 B
Handlebars
<div class="edit-site-text">
|
|
<div class="title">
|
|
<h3>{{siteText.id}}</h3>
|
|
</div>
|
|
|
|
<div class="title">
|
|
<h4>{{i18n "admin.site_text.locale"}} {{localeFullName}}</h4>
|
|
</div>
|
|
|
|
<ExpandingTextArea @value={{buffered.value}} @rows="1" @class="site-text-value" />
|
|
|
|
<SaveControls @model={{siteText}} @action={{action "saveChanges"}} @saved={{saved}} @saveDisabled={{saveDisabled}}>
|
|
{{#if siteText.can_revert}}
|
|
<DButton @action={{action "revertChanges"}} @label="admin.site_text.revert" @class="revert-site-text" />
|
|
{{/if}}
|
|
</SaveControls>
|
|
|
|
<LinkTo @route="adminSiteText.index" @query={{hash locale=locale}} class="go-back">
|
|
{{d-icon "arrow-left"}}
|
|
{{i18n "admin.site_text.go_back"}}
|
|
</LinkTo>
|
|
|
|
</div>
|