From 15295e317f6f400fa2b19fed2eea242fc2df84c2 Mon Sep 17 00:00:00 2001 From: Elisabeth Dickinson Date: Tue, 21 Nov 2023 16:48:02 +0100 Subject: [PATCH] [IMP] website_slides: add `o_avatar` to User Avatar template Prior to this commit, if the avatar image didn't have a 1:1 ratio, the `rounded-circle` image would be oval instead of the intended circle. To fix this we add the `o_avatar` class to the `img`, and since this class already contains `object-fit: cover` from the element's inline styles. closes odoo/odoo#143109 Signed-off-by: Thibault Delavallee (tde) --- .../views/website_slides_templates_course.xml | 2 +- .../views/website_slides_templates_homepage.xml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/website_slides/views/website_slides_templates_course.xml b/addons/website_slides/views/website_slides_templates_course.xml index f84d5bcdec9..4d15702d5cb 100644 --- a/addons/website_slides/views/website_slides_templates_course.xml +++ b/addons/website_slides/views/website_slides_templates_course.xml @@ -404,7 +404,7 @@ t-att-data-visibility="channel.visibility"> - +
You're enrolled
diff --git a/addons/website_slides/views/website_slides_templates_homepage.xml b/addons/website_slides/views/website_slides_templates_homepage.xml index 4e829b561c4..b734892da6e 100644 --- a/addons/website_slides/views/website_slides_templates_homepage.xml +++ b/addons/website_slides/views/website_slides_templates_homepage.xml @@ -74,7 +74,7 @@
- +
View @@ -507,8 +507,8 @@