Skip to content
Snippets Groups Projects
Commit 6ef3e95e authored by Nils Hamerlinck's avatar Nils Hamerlinck Committed by Martin Trigaux
Browse files

[FIX] website_blog: render link in notification


The message was not evaluted

closes odoo/odoo#38578

Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
parent 61661a3e
No related branches found
No related tags found
No related merge requests found
......@@ -581,7 +581,7 @@
<template id="blog_post_template_new_post">
<p>A new post <t t-esc="post.name" /> has been published on the <t t-esc="object.name" /> blog. Click here to access the blog :</p>
<p style="margin-left: 30px; margin-top: 10 px; margin-bottom: 10px;">
<a href="/blog/#{slug(object)}/post/#{slug(post)}"
<a t-attf-href="/blog/#{slug(object)}/post/#{slug(post)}"
style="padding: 5px 10px; font-size: 12px; line-height: 18px; color: #FFFFFF; border-color:#875A7B; text-decoration: none; display: inline-block; margin-bottom: 0px; font-weight: 400; text-align: center; vertical-align: middle; cursor: pointer;background-color: #875A7B; border: 1px solid #875A7B; border-radius:3px">
Access post
</a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment