From bc204e7f1a4ab464e3df52f4fef43e056c0a6555 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 31 Aug 2022 15:09:41 +0200 Subject: [PATCH] Remove delete button from attachmentBlock in the preview row and set correct tooltip title --- mail/inc/class.mail_compose.inc.php | 1 + mail/templates/default/compose.xet | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/mail/inc/class.mail_compose.inc.php b/mail/inc/class.mail_compose.inc.php index f3b5f5afc0..d164288b16 100644 --- a/mail/inc/class.mail_compose.inc.php +++ b/mail/inc/class.mail_compose.inc.php @@ -1383,6 +1383,7 @@ class mail_compose ? Vfs\Sharing::LINK : $content['filemode'] ?? ''; $attach['filemode_title'] = lang(Vfs\Sharing::$modes[$attach['filemode_icon']]['label'] ?? ''); } + $content['attachmentsBlockTitle'] = count($content['attachments']).' '.Lang('Attachments'); } else { diff --git a/mail/templates/default/compose.xet b/mail/templates/default/compose.xet index a8685e9602..37361cde5b 100644 --- a/mail/templates/default/compose.xet +++ b/mail/templates/default/compose.xet @@ -94,7 +94,6 @@ - @@ -102,7 +101,6 @@ -