{{$data := .ActionRunListData}}
{{if not $data.ActionRuns}}
{{svg "octicon-no-entry" 48}}

{{if $data.IsFiltered}}{{ctx.Locale.Tr "actions.runs.no_results"}}{{else}}{{ctx.Locale.Tr "actions.runs.no_runs"}}{{end}}

{{end}} {{range $run := $data.ActionRuns}}
{{template "repo/icons/action_status" (dict "Status" $run.Status.String "IconVariant" "circle-fill")}}
{{$title := or $run.Title (ctx.Locale.TrString "actions.runs.empty_commit_message")}} {{ctx.RenderUtils.RenderCommitMessageLinkSubject $title $run.Link $run.Repo}}
{{$workflowName := index $data.WorkflowNames $run.WorkflowID}} {{if not $data.CurWorkflow}}{{if $workflowName}}{{$workflowName}}{{else}}{{$run.WorkflowID}}{{end}} {{end}}#{{$run.Index}}: {{- if $run.ScheduleID -}} {{ctx.Locale.Tr "actions.runs.scheduled"}} {{- else -}} {{ctx.Locale.Tr "actions.runs.commit"}} {{ShortSha $run.CommitSHA}} {{ctx.Locale.Tr "actions.runs.pushed_by"}} {{$run.TriggerUser.GetDisplayName}} {{- end -}} {{$errMsg := index $data.RunErrors $run.ID}} {{if $errMsg}} {{svg "octicon-alert" 16 "tw-text-red"}} {{end}}
{{if $run.IsRefDeleted}} {{$run.PrettyRef}} {{else}} {{$run.PrettyRef}} {{end}}
{{svg "octicon-calendar" 16}}{{DateUtils.TimeSince $run.Updated}}
{{svg "octicon-stopwatch" 16}}{{$run.Duration}}
{{end}}