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