mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-01 08:47:40 -04:00
9a0652f0b2
To clearly communicate the current state of the action ![image](https://github.com/go-gitea/gitea/assets/20454870/5d6de6b9-f34f-417d-b08e-fcd1b99b3079) ![image](https://github.com/go-gitea/gitea/assets/20454870/b976676a-4525-43e7-866f-8933be1a5dfd) ![image](https://github.com/go-gitea/gitea/assets/20454870/2e0a55fe-658f-4242-83de-b857a8b55f31) ![image](https://github.com/go-gitea/gitea/assets/20454870/6b42bcd1-c499-41ac-8419-1c4e60085d47) ![image](https://github.com/go-gitea/gitea/assets/20454870/363fcff8-fe61-4363-a04b-2db93cfc4fa3) ![image](https://github.com/go-gitea/gitea/assets/20454870/f8f59b68-93de-4f31-b9b0-24d94990d1d0) --------- Signed-off-by: Yarden Shoham <git@yardenshoham.com>
33 lines
1.2 KiB
Handlebars
33 lines
1.2 KiB
Handlebars
<div class="issue list">
|
|
{{range .Runs}}
|
|
<li class="item gt-df gt-py-3 gt-ab">
|
|
<div class="issue-item-left gt-df gt-mr-2">
|
|
{{template "repo/actions/status" (dict "status" .Status.String "locale" $.locale)}}
|
|
</div>
|
|
<div class="issue-item-main action-item-main gt-f1 gt-fc gt-df gt-mr-3">
|
|
<div class="issue-item-top-row">
|
|
<a class="index gt-ml-0 gt-mr-2" title="{{.Title}}" href="{{if .Link}}{{.Link}}{{else}}{{$.Link}}/{{.Index}}{{end}}">
|
|
{{- .Title -}}
|
|
</a>
|
|
</div>
|
|
<div class="desc issue-item-bottom-row gt-df gt-ac gt-fw gt-my-1">
|
|
<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"}} {{.TriggerUser.GetDisplayName}}
|
|
<span class="ui label">
|
|
{{if .RefLink}}
|
|
<a href="{{.RefLink}}">{{.PrettyRef}}</a>
|
|
{{else}}
|
|
{{.PrettyRef}}
|
|
{{end}}
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div class="issue-item-right">
|
|
<div>{{TimeSinceUnix .Updated $.locale}}</div>
|
|
<div>{{.Duration}}</div>
|
|
</div>
|
|
</li>
|
|
{{end}}
|
|
</div>
|
|
{{template "base/paginate" .}}
|