diff --git a/appview/pages/funcmap.go b/appview/pages/funcmap.go index 3b1f9e4b..1ffe5841 100644 --- a/appview/pages/funcmap.go +++ b/appview/pages/funcmap.go @@ -209,7 +209,7 @@ func (p *Pages) funcMap() template.FuncMap { return fmt.Sprintf("P%dD%dH%dM%dS", days, hours, minutes, seconds) }, "durationFmt": func(duration time.Duration) string { - return durationFmt(duration, [4]string{"d", "hr", "min", "s"}) + return durationFmt(duration, [4]string{"d", "h", "m", "s"}) }, "longDurationFmt": func(duration time.Duration) string { return durationFmt(duration, [4]string{"days", "hours", "minutes", "seconds"}) diff --git a/appview/pages/templates/repo/pipelines/workflow.html b/appview/pages/templates/repo/pipelines/workflow.html index 8e69ba06..a90f9c4f 100644 --- a/appview/pages/templates/repo/pipelines/workflow.html +++ b/appview/pages/templates/repo/pipelines/workflow.html @@ -48,9 +48,13 @@ {{ $lastStatus := $all.Latest }} {{ $kind := $lastStatus.Status.String }} -