feat: LocaleString for status

This commit is contained in:
Jason Song committed 2023-01-06 15:02:03 +08:00
1 parent a6f8f10670
commit 91dfef0425
4 files changed
+21 -3

No files matched your search

+1 -1
View File
@@ -70,7 +70,7 @@
{{range .Tasks}}
<tr>
<td><a href="{{.GetBuildViewLink}}" target="_blank">{{template "shared/actions/runner_id" .ID}}</a></td>
<td><span class="ui label task-status-{{.Status.String}}">{{.Status.String}}</span></td>
<td><span class="ui label task-status-{{.Status.String}}">{{.Status.LocaleString $.locale}}</span></td>
<td>{{.GetRepoName}}</td>
<td><strong>
<a href="{{.GetCommitLink}}" target="_blank">{{.GetCommitSHAShort}}</a>