mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-28 04:36:11 +01:00
Revert "Fixes accessibility of empty repository commit status (#22632)"
This reverts commit 638e6160e8
.
Refs: https://codeberg.org/forgejo/forgejo/issues/361
This commit is contained in:
parent
f320204ba2
commit
a463dac5d1
|
@ -1,4 +1,4 @@
|
|||
{{if eq (len .Statuses) 1}}{{$status := index .Statuses 0}}{{if $status.TargetURL}}<a class="ui link commit-statuses-trigger vm" href="{{$status.TargetURL}}">{{template "repo/commit_status" .Status}}</a>{{end}}{{end}}
|
||||
<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>
|
||||
<div class="ui commit-statuses-popup commit-statuses tippy-target">
|
||||
<div class="ui relaxed list divided">
|
||||
{{range .Statuses}}
|
||||
|
|
Loading…
Reference in a new issue