From fa3beeb9d299bbcf86440e77899773506e654e29 Mon Sep 17 00:00:00 2001 From: oppiliappan Date: Sat, 21 Jun 2025 19:45:47 +0100 Subject: [PATCH] appview: fix missing times in CI tooltip Signed-off-by: oppiliappan --- appview/pages/templates/repo/pipelines/fragments/tooltip.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appview/pages/templates/repo/pipelines/fragments/tooltip.html b/appview/pages/templates/repo/pipelines/fragments/tooltip.html index e9a6203..f4a5902 100644 --- a/appview/pages/templates/repo/pipelines/fragments/tooltip.html +++ b/appview/pages/templates/repo/pipelines/fragments/tooltip.html @@ -10,12 +10,12 @@ {{ $lastStatus := $all.Latest }} {{ $kind := $lastStatus.Status.String }} - {{ $t := .TimeTaken }} + {{ $t := $pipeline.TimeTaken }} {{ $time := "" }} {{ if $t }} {{ $time = durationFmt $t }} {{ else }} - {{ $time = printf "%s ago" (shortTimeFmt $.Created) }} + {{ $time = printf "%s ago" (shortTimeFmt $pipeline.Created) }} {{ end }}
-- 2.51.2