2022-09-10 05:03:18 +08:00
|
|
|
<a class="ui link commit-statuses-trigger vm"{{if eq (len .Statuses) 1}}{{$status := index .Statuses 0}}{{if $status.TargetURL}} href="{{$status.TargetURL}}"{{end}}{{end}}>{{template "repo/commit_status" .Status}}</a>
|
2022-08-10 22:47:28 +08:00
|
|
|
<div class="ui commit-statuses-popup commit-statuses tippy-target">
|
2020-12-20 11:13:12 +08:00
|
|
|
<div class="ui relaxed list divided">
|
|
|
|
{{range .Statuses}}
|
2022-02-11 23:29:58 +08:00
|
|
|
<div class="ui item singular-status df">
|
2022-08-10 05:55:29 +08:00
|
|
|
{{template "repo/commit_status" .}}
|
|
|
|
<span class="ui ml-3 f1">{{.Context}} <span class="text grey">{{.Description}}</span></span>
|
2020-12-20 11:13:12 +08:00
|
|
|
{{if .TargetURL}}
|
2022-08-10 05:55:29 +08:00
|
|
|
<a class="ml-3" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer">{{$.root.locale.Tr "repo.pulls.status_checks_details"}}</a>
|
2020-12-20 11:13:12 +08:00
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|