fix(core): update Slack notification formatting to use bold correctly

This commit is contained in:
Andras Bacsai
2025-02-04 12:40:04 +01:00
parent 3da921e2ac
commit df129b83b3
7 changed files with 11 additions and 11 deletions

View File

@@ -93,7 +93,7 @@ class ContainerRestarted extends CustomEmailNotification
$description = "A resource ({$this->name}) has been restarted automatically on {$this->server->name}";
if ($this->url) {
$description .= "\n**Resource URL:** {$this->url}";
$description .= "\n*Resource URL:* {$this->url}";
}
return new SlackMessage(

View File

@@ -93,7 +93,7 @@ class ContainerStopped extends CustomEmailNotification
$description = "A resource ({$this->name}) has been stopped unexpectedly on {$this->server->name}";
if ($this->url) {
$description .= "\n**Resource URL:** {$this->url}";
$description .= "\n*Resource URL:* {$this->url}";
}
return new SlackMessage(