2023-02-20 14:13:04 +05:30
|
|
|
{{if .Statuses}}
|
|
|
|
{{if and (eq (len .Statuses) 1) .Status.TargetURL}}
|
2023-06-09 14:07:47 +05:30
|
|
|
<a class="gt-vm gt-no-underline" data-tippy="commit-statuses" href="{{.Status.TargetURL}}">
|
2023-02-20 14:13:04 +05:30
|
|
|
{{template "repo/commit_status" .Status}}
|
|
|
|
</a>
|
|
|
|
{{else}}
|
|
|
|
<span class="gt-vm" data-tippy="commit-statuses" tabindex="0">
|
|
|
|
{{template "repo/commit_status" .Status}}
|
|
|
|
</span>
|
|
|
|
{{end}}
|
2023-11-02 20:19:02 +05:30
|
|
|
<div class="tippy-target">
|
|
|
|
{{template "repo/pulls/status" (dict "CommitStatuses" .Statuses "CommitStatus" .Status)}}
|
2020-12-20 08:43:12 +05:30
|
|
|
</div>
|
2023-02-20 14:13:04 +05:30
|
|
|
{{end}}
|