0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-15 22:41:44 +01:00

Separate the details links of commit-statuses in headers (#18661)

This commit is contained in:
zeripath 2022-02-11 15:29:58 +00:00 committed by GitHub
parent 832ce406ae
commit c86ecaebae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,11 +2,11 @@
<div class="ui popup very wide fixed basic commit-statuses"> <div class="ui popup very wide fixed basic commit-statuses">
<div class="ui relaxed list divided"> <div class="ui relaxed list divided">
{{range .Statuses}} {{range .Statuses}}
<div class="ui item singular-status"> <div class="ui item singular-status df">
<span>{{template "repo/commit_status" .}}</span> <span>{{template "repo/commit_status" .}}</span>
<span class="ui">{{.Context}} <span class="text grey">{{.Description}}</span></span> <span class="ui f1">{{.Context}} <span class="text grey">{{.Description}}</span></span>
{{if .TargetURL}} {{if .TargetURL}}
<div class="ui right"><a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer">{{$.root.i18n.Tr "repo.pulls.status_checks_details"}}</a></div> <div class="ui"><a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer">{{$.root.i18n.Tr "repo.pulls.status_checks_details"}}</a></div>
{{end}} {{end}}
</div> </div>
{{end}} {{end}}