Skip to content

Commit

Permalink
Issue #503: Render datasets in reminder-email as clickable titles in …
Browse files Browse the repository at this point in the history
…bullet list.
  • Loading branch information
danhgov committed Jun 27, 2024
1 parent 38189c8 commit 864de16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion html/modules/custom/bc_dc/src/Service/ReviewReminder.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ public function generateBody(array $notifications): ?string {
'query' => ['destination' => $update['dataset_url']],
'absolute' => TRUE,
]);
$body[] = $update['title'] . "\n" . $update['dataset_url'];
// GC Notify requires Markdown formatting, not HTML.
$body[] = sprintf('* [%s](%s)', $update['title'], $url_via_login->toString());
}
}
}
Expand Down

0 comments on commit 864de16

Please sign in to comment.