[PROMOTE] 晉升 dev 至 demo 環境
1. [STYLE] 將 Discord 溫度過低告警側邊條顏色從預設藍色 (cyan-600) 調整為警示紅色 (rose-600),以與溫度過高告警顏色保持警示一致性。
This commit is contained in:
commit
a76f6323a2
@ -99,7 +99,7 @@ class DiscordWebhookService
|
||||
} elseif (str_contains($log->message, 'too low')) {
|
||||
$title = '🔴 ' . $this->cleanTranslation(__('Temperature Alert (Low)'), $companyLocale);
|
||||
$description = $this->cleanTranslation(__('Current temperature (:temp°C) is below the lower limit (:limit°C).', ['temp' => $temp, 'limit' => $limit]), $companyLocale);
|
||||
$color = 561586; // cyan-600
|
||||
$color = 14753096; // rose-600 (與過高告警一致使用紅色)
|
||||
|
||||
$fields[] = [
|
||||
'name' => $this->cleanTranslation(__('Current Temperature'), $companyLocale),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user