Fix empty action run title (#28113)

Fix #27901
This commit is contained in:
Lunny Xiao authored and GitHub committed 2023-11-21 03:00:59 +00:00
1 parent 247927a9b5
commit 0c0d17f17e
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@
</div>
<div class="flex-item-main">
<a class="flex-item-title" title="{{.Title}}" href="{{if .Link}}{{.Link}}{{else}}{{$.Link}}/{{.Index}}{{end}}">
{{- .Title -}}
{{if .Title}}{{.Title}}{{else}}{{ctx.Locale.Tr "actions.runs.empty_commit_message"}}{{end}}
</a>
<div class="flex-item-body">
<b>{{if not $.CurWorkflow}}{{.WorkflowID}} {{end}}#{{.Index}}</b>: