2015-11-23 16:45:05 -05:00
|
|
|
<div class="edit-site-text">
|
|
|
|
<div class="title">
|
|
|
|
<h3>{{siteText.id}}</h3>
|
|
|
|
</div>
|
2015-08-07 14:05:08 -04:00
|
|
|
|
2021-01-18 12:53:45 -05:00
|
|
|
<div class="title">
|
|
|
|
<h4>{{i18n "admin.site_text.locale"}} {{localeFullName}}</h4>
|
|
|
|
</div>
|
|
|
|
|
2022-06-30 06:30:50 -04:00
|
|
|
<ExpandingTextArea @value={{buffered.value}} @rows="1" @class="site-text-value" />
|
2015-11-23 16:45:05 -05:00
|
|
|
|
2022-06-30 06:30:50 -04:00
|
|
|
<SaveControls @model={{siteText}} @action={{action "saveChanges"}} @saved={{saved}} @saveDisabled={{saveDisabled}}>
|
2015-11-23 16:45:05 -05:00
|
|
|
{{#if siteText.can_revert}}
|
2022-06-30 06:30:50 -04:00
|
|
|
<DButton @action={{action "revertChanges"}} @label="admin.site_text.revert" @class="revert-site-text" />
|
2015-11-23 16:45:05 -05:00
|
|
|
{{/if}}
|
2022-06-30 06:30:50 -04:00
|
|
|
</SaveControls>
|
2015-11-23 16:45:05 -05:00
|
|
|
|
2022-06-30 06:30:50 -04:00
|
|
|
<LinkTo @route="adminSiteText.index" @query={{hash locale=locale}} class="go-back">
|
2017-07-26 16:25:09 -04:00
|
|
|
{{d-icon "arrow-left"}}
|
2015-11-23 16:45:05 -05:00
|
|
|
{{i18n "admin.site_text.go_back"}}
|
2022-06-30 06:30:50 -04:00
|
|
|
</LinkTo>
|
2015-11-23 16:45:05 -05:00
|
|
|
|
|
|
|
</div>
|