diff options
| author | Jeremy Kersten <jke@odoo.com> | 2020-06-08 10:16:44 +0000 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2020-06-08 10:16:51 +0000 |
| commit | 2c85c1cb6ee0f6000cd2db182d5b8cfd3d040876 (patch) | |
| tree | b8865998a276110ef58f3c160a67b85b7931fcc1 /addons | |
| parent | 4e8501c4c96d2e133ddaf25c96be472400bf3920 (diff) | |
[FIX] website: create page link on 404 in post
closes odoo/odoo#52576
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/website/views/website_templates.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/views/website_templates.xml b/addons/website/views/website_templates.xml index ae00ae61016..692c24d1cf5 100644 --- a/addons/website/views/website_templates.xml +++ b/addons/website/views/website_templates.xml @@ -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> |
