summaryrefslogtreecommitdiff
path: root/addons/website_slides/data/website_data.xml
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2019-10-16 17:28:14 +0000
committerRomain Derie <rde@odoo.com>2019-11-18 13:59:09 +0000
commite9106f8f98ff5494132722d70c0f5bffce027f49 (patch)
tree175bd71829e4720a8a34ae154d5415c32b30e48a /addons/website_slides/data/website_data.xml
parentd3fe36d817594a4d33db7c17216b888a776900d3 (diff)
[IMP] http_routing, portal, website: nicer 404 layout
This commit introduces a nicer 404 page, which is basically the same layout as the one used on Odoo.com. Also, the 404 is now fully customizable, blocks can be drag'd & drop'd. task-1966460 closes odoo/odoo#38901 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/website_slides/data/website_data.xml')
-rw-r--r--addons/website_slides/data/website_data.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/addons/website_slides/data/website_data.xml b/addons/website_slides/data/website_data.xml
index e2e8b1c4a78..9ddf9274681 100644
--- a/addons/website_slides/data/website_data.xml
+++ b/addons/website_slides/data/website_data.xml
@@ -11,5 +11,11 @@
<field name="parent_id" ref="website.main_menu"/>
<field name="sequence" type="int">50</field>
</record>
+
+ <template id="portal_404" inherit_id="portal.404_oe_structure_404_2" name="Slides 404 Popular Page Entry">
+ <xpath expr="//li[last()]" position="before">
+ <li class="list-inline-item mb-2"><a href="/slides" class="btn btn-secondary">Courses</a></li>
+ </xpath>
+ </template>
</data>
</odoo>