diff --git a/app/Notifications/Application/StatusChanged.php b/app/Notifications/Application/StatusChanged.php index 669f6e584..34c5ed747 100644 --- a/app/Notifications/Application/StatusChanged.php +++ b/app/Notifications/Application/StatusChanged.php @@ -103,9 +103,9 @@ class StatusChanged extends CustomEmailNotification $title = 'Application stopped'; $description = "{$this->resource_name} has been stopped"; - $description .= "\n\n**Project:** ".data_get($this->resource, 'environment.project.name'); - $description .= "\n**Environment:** {$this->environment_name}"; - $description .= "\n**Application URL:** {$this->resource_url}"; + $description .= "\n\n*Project:* ".data_get($this->resource, 'environment.project.name'); + $description .= "\n*Environment:* {$this->environment_name}"; + $description .= "\n*Application URL:* {$this->resource_url}"; return new SlackMessage( title: $title, diff --git a/app/Notifications/Container/ContainerRestarted.php b/app/Notifications/Container/ContainerRestarted.php index 68fc6b019..f6ae69481 100644 --- a/app/Notifications/Container/ContainerRestarted.php +++ b/app/Notifications/Container/ContainerRestarted.php @@ -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( diff --git a/app/Notifications/Container/ContainerStopped.php b/app/Notifications/Container/ContainerStopped.php index 59ad7ae4e..fc9410a85 100644 --- a/app/Notifications/Container/ContainerStopped.php +++ b/app/Notifications/Container/ContainerStopped.php @@ -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( diff --git a/app/Notifications/Database/BackupFailed.php b/app/Notifications/Database/BackupFailed.php index 6dcb70583..a19fb0431 100644 --- a/app/Notifications/Database/BackupFailed.php +++ b/app/Notifications/Database/BackupFailed.php @@ -79,8 +79,8 @@ class BackupFailed extends CustomEmailNotification $title = 'Database backup failed'; $description = "Database backup for {$this->name} (db:{$this->database_name}) has FAILED."; - $description .= "\n\n**Frequency:** {$this->frequency}"; - $description .= "\n\n**Error Output:**\n{$this->output}"; + $description .= "\n\n*Frequency:* {$this->frequency}"; + $description .= "\n\n*Error Output:* {$this->output}"; return new SlackMessage( title: $title, diff --git a/app/Notifications/Database/BackupSuccess.php b/app/Notifications/Database/BackupSuccess.php index 585f7cce1..78bcfafe3 100644 --- a/app/Notifications/Database/BackupSuccess.php +++ b/app/Notifications/Database/BackupSuccess.php @@ -77,7 +77,7 @@ class BackupSuccess extends CustomEmailNotification $title = 'Database backup successful'; $description = "Database backup for {$this->name} (db:{$this->database_name}) was successful."; - $description .= "\n\n**Frequency:** {$this->frequency}"; + $description .= "\n\n*Frequency:* {$this->frequency}"; return new SlackMessage( title: $title, diff --git a/app/Notifications/ScheduledTask/TaskFailed.php b/app/Notifications/ScheduledTask/TaskFailed.php index c4d92f213..eb4fc7e79 100644 --- a/app/Notifications/ScheduledTask/TaskFailed.php +++ b/app/Notifications/ScheduledTask/TaskFailed.php @@ -101,11 +101,11 @@ class TaskFailed extends CustomEmailNotification $description = "Scheduled task ({$this->task->name}) failed."; if ($this->output) { - $description .= "\n\n**Error Output:**\n{$this->output}"; + $description .= "\n\n*Error Output:* {$this->output}"; } if ($this->url) { - $description .= "\n\n**Task URL:** {$this->url}"; + $description .= "\n\n*Task URL:* {$this->url}"; } return new SlackMessage( diff --git a/app/Notifications/ScheduledTask/TaskSuccess.php b/app/Notifications/ScheduledTask/TaskSuccess.php index 5d4154e7a..c45784db2 100644 --- a/app/Notifications/ScheduledTask/TaskSuccess.php +++ b/app/Notifications/ScheduledTask/TaskSuccess.php @@ -96,7 +96,7 @@ class TaskSuccess extends CustomEmailNotification $description = "Scheduled task ({$this->task->name}) succeeded."; if ($this->url) { - $description .= "\n\n**Task URL:** {$this->url}"; + $description .= "\n\n*Task URL:* {$this->url}"; } return new SlackMessage(