2019-07-16 01:47:44 +08:00
|
|
|
<div class="robots-txt-edit">
|
|
|
|
<h3>{{i18n "admin.customize.robots.title"}}</h3>
|
|
|
|
<p>{{i18n "admin.customize.robots.warning"}}</p>
|
2022-07-06 01:41:31 +08:00
|
|
|
{{#if this.model.overridden}}
|
2019-07-16 01:47:44 +08:00
|
|
|
<div class="overridden">
|
|
|
|
{{i18n "admin.customize.robots.overridden"}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2022-07-06 01:41:31 +08:00
|
|
|
<Textarea @value={{this.buffered.robots_txt}} class="robots-txt-input" />
|
|
|
|
<SaveControls
|
|
|
|
@model={{this}}
|
|
|
|
@action={{action "save"}}
|
|
|
|
@saved={{this.saved}}
|
|
|
|
@saveDisabled={{this.saveDisabled}}
|
|
|
|
>
|
|
|
|
<DButton
|
|
|
|
@disabled={{this.resetDisabled}}
|
|
|
|
@icon="undo"
|
2023-08-31 17:49:35 +08:00
|
|
|
@action={{this.reset}}
|
2022-07-06 01:41:31 +08:00
|
|
|
@label="admin.settings.reset"
|
2023-08-31 17:49:35 +08:00
|
|
|
class="btn-default"
|
2022-07-06 01:41:31 +08:00
|
|
|
/>
|
2022-06-30 18:30:50 +08:00
|
|
|
</SaveControls>
|
2019-07-16 01:47:44 +08:00
|
|
|
</div>
|