Files
odoo_source/addons/website/wizard/website_robots.xml
T
Julien Carion (juca) 6c412be2ea [IMP] *: coherent hotkey uses
This commit makes hotkey uses more coherent throughout the entire
codebase by setting alt+q as main shortcurt for confirm and default
actions and alt+x for cancel actions.

task-3370463

closes odoo/odoo#127469

Related: odoo/enterprise#43694
Signed-off-by: Mathieu Duckerts-Antoine (dam) <dam@odoo.com>
2023-07-19 18:24:15 +02:00

28 lines
1.1 KiB
XML

<?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 t-translation="off" class='ms-4'>Disallow: /web/login</code><br/>
<code t-translation="off" class='ms-4'>Allow: *</code>
</small>
<footer>
<button string="Save" name="action_save" type="object" class="oe_highlight" data-hotkey="q"/>
<button string="Cancel" class="btn btn-default" special="cancel" data-hotkey="x"/>
</footer>
</form>
</field>
</record>
</odoo>