Skip to content

Commit 7f48a34

Browse files
authored
Improve format of DSA email (#962)
Make the email containing the information from the form easier to parse by using bold headings Bug: T402902
1 parent f4872e1 commit 7f48a34

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

app/Notifications/ComplaintNotification.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ public function toMail($notifiable) {
7070
->from($mailFrom)
7171
->subject($mailSubject)
7272
->line(Lang::get('A message via the wikibase.cloud form for reporting illegal content has been submitted.'))
73-
->line(Lang::get('Reporter name: ') . $name)
74-
->line(Lang::get('Reporter email address: ') . $mailAddress)
75-
->line(Lang::get('Reason why the information in question is illegal content:'))
73+
->line('**' . Lang::get('Reporter name:') . '** ' . $name)
74+
->line('**' . Lang::get('Reporter email address:') . '** ' . $mailAddress)
75+
->line('**' . Lang::get('Reason why the information in question is illegal content:') . '**')
7676
->line($this->reason)
77-
->line(Lang::get('URL(s) for the content in question:'))
77+
->line('**' . Lang::get('URL(s) for the content in question:') . '**')
7878
->line($this->offendingUrls)
7979
->line('---');
8080
}

0 commit comments

Comments
 (0)