diff options
| author | Fuwn <[email protected]> | 2026-01-20 05:54:48 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-20 05:54:48 -0800 |
| commit | e0aa4b16baf0942aa68f61df9cdfc4a4874b57d2 (patch) | |
| tree | 3b585e1071aa604b580893c23c5fa05c80aa8b5d /internal/server/templates | |
| parent | style: Update tab title format to show up/down counts (diff) | |
| download | kaze-e0aa4b16baf0942aa68f61df9cdfc4a4874b57d2.tar.xz kaze-e0aa4b16baf0942aa68f61df9cdfc4a4874b57d2.zip | |
fix: Simplify error messages in monitor display
Diffstat (limited to 'internal/server/templates')
| -rw-r--r-- | internal/server/templates/index.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/internal/server/templates/index.html b/internal/server/templates/index.html index 6b28edb..eb3fc41 100644 --- a/internal/server/templates/index.html +++ b/internal/server/templates/index.html @@ -99,9 +99,7 @@ {{if gt .SSLDaysLeft 0}} <span class="{{if lt .SSLDaysLeft 14}}text-yellow-600 dark:text-yellow-400{{else if lt .SSLDaysLeft 7}}text-red-600 dark:text-red-400{{end}}" data-tooltip='{{.SSLTooltip}}'>SSL: {{.SSLDaysLeft}}d</span> {{end}} - {{if .LastError}} - {{if .LastError}}<span class="text-red-600 dark:text-red-400 truncate max-w-[200px]" data-tooltip='{"header":"Last Error","error":"{{.LastError}}"}'>{{.LastError}}</span>{{end}} - {{end}} + {{if .LastError}}<span class="text-red-600 dark:text-red-400 truncate max-w-[200px]" data-tooltip='{"header":"Last Error","error":"{{.LastError}}"}'>{{simplifyError .LastError}}</span>{{end}} </div> </div> <div class="flex items-center gap-2 flex-shrink-0"> |