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