mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 08:26:05 +08:00
a914d3230b
Followup to 7d8974d02f
Co-authored-by: David Taylor <david@taylorhq.com>
24 lines
683 B
Handlebars
24 lines
683 B
Handlebars
<div class="robots-txt-edit">
|
|
<h3>{{i18n "admin.customize.robots.title"}}</h3>
|
|
<p>{{i18n "admin.customize.robots.warning"}}</p>
|
|
{{#if this.model.overridden}}
|
|
<div class="overridden">
|
|
{{i18n "admin.customize.robots.overridden"}}
|
|
</div>
|
|
{{/if}}
|
|
<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="arrow-rotate-left"
|
|
@action={{this.reset}}
|
|
@label="admin.settings.reset"
|
|
class="btn-default"
|
|
/>
|
|
</SaveControls>
|
|
</div> |