From 7211d5931c600eadb1c04c5a8b38152abf42ce18 Mon Sep 17 00:00:00 2001 From: ralf Date: Thu, 29 Aug 2024 09:24:34 +0200 Subject: [PATCH] fix smime icons in mail were always displayed and using the old icons modified to black color --- api/src/Image.php | 4 +- mail/templates/default/display.xet | 4 +- .../default/images/smime_encrypt.svg | 41 +++++++++++++++++-- mail/templates/default/images/smime_sign.svg | 41 +++++++++++++++++-- mail/templates/default/index.xet | 4 +- mail/templates/mobile/view.xet | 4 +- 6 files changed, 84 insertions(+), 14 deletions(-) diff --git a/api/src/Image.php b/api/src/Image.php index 2642e510df..d90db155a5 100644 --- a/api/src/Image.php +++ b/api/src/Image.php @@ -340,8 +340,8 @@ class Image 'mail/prio_high' => 'exclamation-diamond', 'mail/prio_low' => 'arrow-down-square', 'mail/read_flagged_small' => 'flag', - 'mail/smime_encrypt' => 'building-lock', - 'mail/smime_sign' => 'database-lock', + //'mail/smime_encrypt' => 'building-lock', // old icons are better/easier to understand, need to be adapted to new BI style + //'mail/smime_sign' => 'database-lock', 'mail/source' => 'code', 'mail/spam_list_domain_add' => 'house-add', 'mail/spam_list_domain_remove' => 'house-dash', diff --git a/mail/templates/default/display.xet b/mail/templates/default/display.xet index 3a6b149a4e..77e1a9d915 100644 --- a/mail/templates/default/display.xet +++ b/mail/templates/default/display.xet @@ -9,8 +9,8 @@ - - + + diff --git a/mail/templates/default/images/smime_encrypt.svg b/mail/templates/default/images/smime_encrypt.svg index 9947efb9eb..6c3572e30d 100644 --- a/mail/templates/default/images/smime_encrypt.svg +++ b/mail/templates/default/images/smime_encrypt.svg @@ -1,4 +1,39 @@ - - - + + + + + diff --git a/mail/templates/default/images/smime_sign.svg b/mail/templates/default/images/smime_sign.svg index 4878471ba7..1449431a42 100644 --- a/mail/templates/default/images/smime_sign.svg +++ b/mail/templates/default/images/smime_sign.svg @@ -1,4 +1,39 @@ - - - + + + + + diff --git a/mail/templates/default/index.xet b/mail/templates/default/index.xet index 3d21234110..ec38f88573 100644 --- a/mail/templates/default/index.xet +++ b/mail/templates/default/index.xet @@ -20,8 +20,8 @@ - - + + diff --git a/mail/templates/mobile/view.xet b/mail/templates/mobile/view.xet index 63454f98b7..dfc3603b3f 100644 --- a/mail/templates/mobile/view.xet +++ b/mail/templates/mobile/view.xet @@ -12,8 +12,8 @@ - - + +