[FIX] website: create page link on 404 in post
closes odoo/odoo#52576 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
This commit is contained in:
@@ -801,7 +801,7 @@
|
||||
<div class="container o_not_editable">
|
||||
<div class="alert alert-info mt32">
|
||||
<p>This page does not exist, but you can create it as you are administrator of this site.</p>
|
||||
<a role="button" class="btn btn-primary js_disable_on_click" t-attf-href="/website/add/#{ path }#{ from_template and '?template=%s' % from_template }">Create Page</a>
|
||||
<a role="button" class="btn btn-primary js_disable_on_click post_link" t-attf-href="/website/add/#{ path }#{ from_template and '?template=%s' % from_template }">Create Page</a>
|
||||
</div>
|
||||
<div class="text-center text-muted">Edit the content below this line to adapt the default "page not found" page.</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user