From 4d084ec01b09b4dca9d2f0eb9ed933e85d1ab016 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 31 Jan 2024 10:32:35 +0100 Subject: [PATCH] Remove icons in unique dialog There is already an alert background set to distinct them. --- sao/src/common.js | 37 ++++++---------------------------- tryton/tryton/common/common.py | 2 +- 2 files changed, 7 insertions(+), 32 deletions(-) diff --git a/sao/src/common.js b/sao/src/common.js index fb6383eb38..64f562b93f 100644 --- a/sao/src/common.js +++ b/sao/src/common.js @@ -3284,12 +3284,7 @@ dialog.body.append(jQuery('
', { 'class': 'alert alert-info', role: 'alert' - }).append(Sao.common.ICONFACTORY.get_icon_img(icon, { - 'aria-hidden': true, - })).append(jQuery('', { - 'class': 'sr-only' - }).text(Sao.i18n.gettext('Message: ')) - ).append(jQuery('') + }).append(jQuery('') .text(message) .css('white-space', 'pre-wrap'))); jQuery('