2023-02-20 08:43:04 +00:00
|
|
|
{{if .Statuses}}
|
|
|
|
{{if and (eq (len .Statuses) 1) .Status.TargetURL}}
|
2023-06-09 08:37:47 +00:00
|
|
|
<a class="gt-vm gt-no-underline" data-tippy="commit-statuses" href="{{.Status.TargetURL}}">
|
2023-02-20 08:43:04 +00:00
|
|
|
{{template "repo/commit_status" .Status}}
|
|
|
|
</a>
|
|
|
|
{{else}}
|
|
|
|
<span class="gt-vm" data-tippy="commit-statuses" tabindex="0">
|
|
|
|
{{template "repo/commit_status" .Status}}
|
|
|
|
</span>
|
|
|
|
{{end}}
|
|
|
|
<div class="tippy-target ui relaxed list divided">
|
2020-12-20 03:13:12 +00:00
|
|
|
{{range .Statuses}}
|
2023-02-13 17:59:59 +00:00
|
|
|
<div class="ui item singular-status gt-df">
|
2022-08-09 21:55:29 +00:00
|
|
|
{{template "repo/commit_status" .}}
|
2023-02-13 17:59:59 +00:00
|
|
|
<span class="ui gt-ml-3 gt-f1">{{.Context}} <span class="text grey">{{.Description}}</span></span>
|
2020-12-20 03:13:12 +00:00
|
|
|
{{if .TargetURL}}
|
2023-09-25 00:21:38 +00:00
|
|
|
<a class="gt-ml-3" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer">{{ctx.Locale.Tr "repo.pulls.status_checks_details"}}</a>
|
2020-12-20 03:13:12 +00:00
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
2023-02-20 08:43:04 +00:00
|
|
|
{{end}}
|