mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-27 19:13:48 +08: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>
16 lines
422 B
Handlebars
16 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}}
|