mirror of
https://github.com/go-gitea/gitea
synced 2024-12-21 05:04:33 +01:00
f3c4baa84b
* Show dropdown with all statuses for commit * Use popups * Remove unnecessary change * Style popup * Use divided list * As per @silverwind * Refactor GetLastCommitStatus * Missing dropdown on repo home and commit page * Fix tests * Make status icon be a part of a link on PR list * Fix missing translation call * Indent fix Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
15 lines
422 B
Handlebars
15 lines
422 B
Handlebars
{{if eq .State "pending"}}
|
|
<i class="commit-status circle icon yellow"></i>
|
|
{{end}}
|
|
{{if eq .State "success"}}
|
|
<i class="commit-status check icon green"></i>
|
|
{{end}}
|
|
{{if eq .State "error"}}
|
|
<i class="commit-status warning icon red"></i>
|
|
{{end}}
|
|
{{if eq .State "failure"}}
|
|
<i class="commit-status remove icon red"></i>
|
|
{{end}}
|
|
{{if eq .State "warning"}}
|
|
<i class="commit-status warning sign icon yellow"></i>
|
|
{{end}}
|