2020-04-14 14:18:49 +08:00
|
|
|
<div class="edit-site-text">
|
2015-08-08 02:05:08 +08:00
|
|
|
|
2020-04-14 14:18:49 +08:00
|
|
|
<div class="title">
|
2015-11-24 05:45:05 +08:00
|
|
|
<h3>{{siteText.id}}</h3>
|
|
|
|
</div>
|
2015-08-08 02:05:08 +08:00
|
|
|
|
2015-11-24 05:45:05 +08:00
|
|
|
{{expanding-text-area value=buffered.value rows="1" class="site-text-value"}}
|
|
|
|
|
2019-07-02 09:53:16 +08:00
|
|
|
{{#save-controls model=siteText action=(action "saveChanges") saved=saved saveDisabled=saveDisabled}}
|
2015-11-24 05:45:05 +08:00
|
|
|
{{#if siteText.can_revert}}
|
2019-01-10 18:06:01 +08:00
|
|
|
{{d-button action=(action "revertChanges") label="admin.site_text.revert" class="revert-site-text"}}
|
2015-11-24 05:45:05 +08:00
|
|
|
{{/if}}
|
|
|
|
{{/save-controls}}
|
|
|
|
|
2020-04-14 14:18:49 +08:00
|
|
|
{{#link-to "adminSiteText.index" class="go-back"}}
|
|
|
|
{{d-icon "arrow-left"}}
|
|
|
|
{{i18n "admin.site_text.go_back"}}
|
2015-11-24 05:45:05 +08:00
|
|
|
{{/link-to}}
|
|
|
|
|
|
|
|
</div>
|