[FIX] web_editor: add missing Markup to notification
closes odoo/odoo#129681 X-original-commit: c72441b440061dd1ab794a77bf5b2c2623c525fe Signed-off-by: David Monjoie (dmo) <dmo@odoo.com> Signed-off-by: Simon Genin (ges@odoo) <ges@odoo.com>
This commit is contained in:
@@ -10,6 +10,7 @@ import {
|
||||
onWillDestroy,
|
||||
onWillUpdateProps,
|
||||
} from "@odoo/owl";
|
||||
import { Markup } from "web.utils";
|
||||
|
||||
export class ImageCrop extends Component {
|
||||
static template = 'web_editor.ImageCrop';
|
||||
@@ -135,7 +136,7 @@ export class ImageCrop extends Component {
|
||||
this.displayNotification({
|
||||
type: 'warning',
|
||||
title: _t("This image is an external image"),
|
||||
message: _t("This type of image is not supported for cropping.<br/>If you want to crop it, please first download it from the original source and upload it in Odoo."),
|
||||
message: Markup(_t("This type of image is not supported for cropping.<br/>If you want to crop it, please first download it from the original source and upload it in Odoo.")),
|
||||
});
|
||||
return this._closeCropper();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user