aboutsummaryrefslogtreecommitdiff
path: root/internal/server/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'internal/server/templates/index.html')
-rw-r--r--internal/server/templates/index.html4
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">