+2
-2
appview/pages/templates/repo/pipelines/fragments/tooltip.html
+2
-2
appview/pages/templates/repo/pipelines/fragments/tooltip.html
···
10
{{ $lastStatus := $all.Latest }}
11
{{ $kind := $lastStatus.Status.String }}
12
13
-
{{ $t := .TimeTaken }}
14
{{ $time := "" }}
15
{{ if $t }}
16
{{ $time = durationFmt $t }}
17
{{ else }}
18
-
{{ $time = printf "%s ago" (shortTimeFmt $.Created) }}
19
{{ end }}
20
21
<div id="left" class="flex items-center gap-2 flex-shrink-0">
···
10
{{ $lastStatus := $all.Latest }}
11
{{ $kind := $lastStatus.Status.String }}
12
13
+
{{ $t := $pipeline.TimeTaken }}
14
{{ $time := "" }}
15
{{ if $t }}
16
{{ $time = durationFmt $t }}
17
{{ else }}
18
+
{{ $time = printf "%s ago" (shortTimeFmt $pipeline.Created) }}
19
{{ end }}
20
21
<div id="left" class="flex items-center gap-2 flex-shrink-0">