From 6dd9b5b27eddf9c89e326fa9ec17757d73f14ab4 Mon Sep 17 00:00:00 2001 From: Booteille Date: Thu, 12 Jun 2025 14:03:56 +0200 Subject: [PATCH] Do not show message about sending mail through the server if sending mail from the server is disabled --- themes/default/templates/mail.html.ep | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/themes/default/templates/mail.html.ep b/themes/default/templates/mail.html.ep index 54c8afd..2128872 100644 --- a/themes/default/templates/mail.html.ep +++ b/themes/default/templates/mail.html.ep @@ -9,10 +9,12 @@ % }
+ % if (!$self->config('disable_mail_sending')) {
-

<%= l('If you send the mail from this server, the links will be sent to the server, which may lower your privacy protection.') %>

-

<%= l('Adding URLs not related to this Lufi instance to the mail body or subject is prohibited.') %>

+

<%= l('If you send the mail from this server, the links will be sent to the server, which may lower your privacy protection.') %>

+

<%= l('Adding URLs not related to this Lufi instance to the mail body or subject is prohibited.') %>

+ % }