2023-02-20 14:13:04 +05:30
|
|
|
{{if .Statuses}}
|
|
|
|
{{if and (eq (len .Statuses) 1) .Status.TargetURL}}
|
|
|
|
<a class="gt-vm gt-tdn" data-tippy="commit-statuses" href="{{.Status.TargetURL}}">
|
|
|
|
{{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 08:43:12 +05:30
|
|
|
{{range .Statuses}}
|
2023-02-13 23:29:59 +05:30
|
|
|
<div class="ui item singular-status gt-df">
|
2022-08-10 03:25:29 +05:30
|
|
|
{{template "repo/commit_status" .}}
|
2023-02-13 23:29:59 +05:30
|
|
|
<span class="ui gt-ml-3 gt-f1">{{.Context}} <span class="text grey">{{.Description}}</span></span>
|
2020-12-20 08:43:12 +05:30
|
|
|
{{if .TargetURL}}
|
2023-02-13 23:29:59 +05:30
|
|
|
<a class="gt-ml-3" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer">{{$.root.locale.Tr "repo.pulls.status_checks_details"}}</a>
|
2020-12-20 08:43:12 +05:30
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
2023-02-20 14:13:04 +05:30
|
|
|
{{end}}
|