[IMP] website_forum: improve window title
before this commit, on editing a forum post window title is shown as edit_post(id) as the name is not set on the template. after this commit, window title will be shown as Edit Post. closes odoo/odoo#114624 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
@@ -240,7 +240,7 @@
|
||||
</template>
|
||||
|
||||
<!-- Edition: edit a post -->
|
||||
<template id="edit_post">
|
||||
<template id="edit_post" name="Edit Post">
|
||||
<t t-call="website_forum.header">
|
||||
<div t-if="is_answer" class="fw-bold mb-1">Question by <t t-esc="post.parent_id.create_uid.sudo().name"/></div>
|
||||
<article t-if="is_answer" class="alert border pb-0 o_wforum_readable">
|
||||
|
||||
Reference in New Issue
Block a user