blob: dd0a9147459cedf50e28c819e8c500d068099c84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_edit_robots" model="ir.ui.view">
<field name="name">Edit Robots.txt</field>
<field name="model">website.robots</field>
<field name="arch" type="xml">
<form>
<field name="content"/>
<small>
<a role="button" class="btn btn-link" target="_blank" href="https://www.google.com/webmasters/tools/robots-testing-tool">
Test your robots.txt with Google Search Console
</a>
<br/><br/>
Example of rule:<br/>
<code class='ml-4'>Disallow: /web/login</code><br/>
<code class='ml-4'>Allow: *</code>
</small>
<footer>
<button string="Save" name="action_save" type="object" class="oe_highlight"/>
<button string="Cancel" class="btn btn-default" special="cancel"/>
</footer>
</form>
</field>
</record>
</odoo>
|