Skip to content

Commit

Permalink
Merge branch 'master' of github.com:wtfutil/wtf
Browse files Browse the repository at this point in the history
  • Loading branch information
senorprogrammer committed May 21, 2024
2 parents 6fcb814 + eef0e18 commit a68a46c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/healthchecks/widget.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (widget *Widget) content() (string, string, bool) {
}
}

title := fmt.Sprintf("Healthchecks (%d/%d)", numUp, len(widget.checks))
title := fmt.Sprintf("%v (%d/%d)", widget.CommonSettings().Title, numUp, len(widget.checks))

if widget.err != nil {
return title, widget.err.Error(), true
Expand All @@ -113,6 +113,8 @@ func (widget *Widget) contentFrom(checks []Checks) string {
prefix += "[green] + "
case "down":
prefix += "[red] - "
case "paused", "new":
prefix += "[lightgray] × "
default:
prefix += "[yellow] ~ "
}
Expand Down

0 comments on commit a68a46c

Please sign in to comment.