You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

runs_list.tmpl 973B

12345678910111213141516171819202122232425
  1. <div class="issue list">
  2. {{range .Runs}}
  3. <li class="item df py-3">
  4. <div class="issue-item-left df">
  5. {{template "repo/actions/status" .Status}}
  6. </div>
  7. <div class="issue-item-main f1 fc df">
  8. <div class="issue-item-top-row">
  9. <a class="index ml-0 mr-2" href="{{if .HTMLURL}}{{.HTMLURL}}{{else}}{{$.Link}}/{{.Index}}{{end}}">
  10. {{.Title}} <span class="ui label">{{RefShortName .Ref}}</span>
  11. </a>
  12. </div>
  13. <div class="desc issue-item-bottom-row df ac fw my-1">
  14. <b>{{if not $.CurWorkflow}}{{.WorkflowID}} {{end}}#{{.Index}}</b>: {{$.locale.Tr "actions.runs.commit"}}
  15. <a href="{{$.RepoLink}}/commit/{{.CommitSHA}}">{{ShortSha .CommitSHA}}</a>&nbsp; {{$.locale.Tr "actions.runs.pushed_by"}} {{.TriggerUser.GetDisplayName | Escape}}
  16. </div>
  17. </div>
  18. <div class="issue-item-right">
  19. <div>{{TimeSinceUnix .Updated $.locale}}</div>
  20. <div>{{.Duration}}</div>
  21. </div>
  22. </li>
  23. {{end}}
  24. </div>
  25. {{template "base/paginate" .}}