discourse/app/assets/javascripts/admin/addon/templates/customize-robots-txt.hbs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
670 B
Handlebars
Raw Normal View History

<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="undo"
@action={{this.reset}}
@label="admin.settings.reset"
class="btn-default"
/>
</SaveControls>
</div>