aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/actions/runs_list.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/actions/runs_list.tmpl')
-rw-r--r--templates/repo/actions/runs_list.tmpl14
1 files changed, 9 insertions, 5 deletions
diff --git a/templates/repo/actions/runs_list.tmpl b/templates/repo/actions/runs_list.tmpl
index 37a584079f..961dd52c62 100644
--- a/templates/repo/actions/runs_list.tmpl
+++ b/templates/repo/actions/runs_list.tmpl
@@ -15,11 +15,15 @@
{{- .Title -}}
</a>
<div class="flex-item-body">
- <b>{{if not $.CurWorkflow}}{{.WorkflowID}} {{end}}#{{.Index}}</b>
- : {{$.locale.Tr "actions.runs.commit"}}
- <a href="{{$.RepoLink}}/commit/{{.CommitSHA}}">{{ShortSha .CommitSHA}}</a>
- {{$.locale.Tr "actions.runs.pushed_by"}}
- <a href="{{.TriggerUser.HomeLink}}">{{.TriggerUser.GetDisplayName}}</a>
+ <b>{{if not $.CurWorkflow}}{{.WorkflowID}} {{end}}#{{.Index}}</b>:
+ {{- if .ScheduleID -}}
+ {{$.locale.Tr "actions.runs.scheduled"}}
+ {{- else -}}
+ {{$.locale.Tr "actions.runs.commit"}}
+ <a href="{{$.RepoLink}}/commit/{{.CommitSHA}}">{{ShortSha .CommitSHA}}</a>
+ {{$.locale.Tr "actions.runs.pushed_by"}}
+ <a href="{{.TriggerUser.HomeLink}}">{{.TriggerUser.GetDisplayName}}</a>
+ {{- end -}}
</div>
</div>
<div class="flex-item-trailing">