mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
371bbadb92
* Run no-implicit-this codemod for app templates * Run tagless-ember-components-codemod for plugins * Turn on no-implicit-this lint
24 lines
779 B
Handlebars
24 lines
779 B
Handlebars
<div class="edit-site-text">
|
|
<div class="title">
|
|
<h3>{{this.siteText.id}}</h3>
|
|
</div>
|
|
|
|
<div class="title">
|
|
<h4>{{i18n "admin.site_text.locale"}} {{this.localeFullName}}</h4>
|
|
</div>
|
|
|
|
<ExpandingTextArea @value={{this.buffered.value}} @rows="1" @class="site-text-value" />
|
|
|
|
<SaveControls @model={{this.siteText}} @action={{action "saveChanges"}} @saved={{this.saved}} @saveDisabled={{this.saveDisabled}}>
|
|
{{#if this.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=this.locale}} class="go-back">
|
|
{{d-icon "arrow-left"}}
|
|
{{i18n "admin.site_text.go_back"}}
|
|
</LinkTo>
|
|
|
|
</div>
|