From d7105dc83b8049cc4b4dfeb7d5d08fdbf023b05d Mon Sep 17 00:00:00 2001 From: Ollie Date: Tue, 26 Aug 2025 11:16:12 +0200 Subject: [PATCH] Improve format of DSA email Make the email containing the information from the form easier to parse by using bold headings Bug: T402902 --- app/Notifications/ComplaintNotification.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Notifications/ComplaintNotification.php b/app/Notifications/ComplaintNotification.php index 17bce6c01..0ef9be634 100644 --- a/app/Notifications/ComplaintNotification.php +++ b/app/Notifications/ComplaintNotification.php @@ -70,11 +70,11 @@ public function toMail($notifiable) { ->from($mailFrom) ->subject($mailSubject) ->line(Lang::get('A message via the wikibase.cloud form for reporting illegal content has been submitted.')) - ->line(Lang::get('Reporter name: ') . $name) - ->line(Lang::get('Reporter email address: ') . $mailAddress) - ->line(Lang::get('Reason why the information in question is illegal content:')) + ->line('**' . Lang::get('Reporter name:') . '** ' . $name) + ->line('**' . Lang::get('Reporter email address:') . '** ' . $mailAddress) + ->line('**' . Lang::get('Reason why the information in question is illegal content:') . '**') ->line($this->reason) - ->line(Lang::get('URL(s) for the content in question:')) + ->line('**' . Lang::get('URL(s) for the content in question:') . '**') ->line($this->offendingUrls) ->line('---'); }