1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Fix empty action run title (#28113)

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

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>: