2017-09-14 14:51:32 +08:00
|
|
|
{{if eq .State "pending"}}
|
2020-12-20 11:13:12 +08:00
|
|
|
<i class="commit-status circle icon yellow"></i>
|
2017-09-14 14:51:32 +08:00
|
|
|
{{end}}
|
|
|
|
{{if eq .State "success"}}
|
2020-12-20 11:13:12 +08:00
|
|
|
<i class="commit-status check icon green"></i>
|
2017-09-14 14:51:32 +08:00
|
|
|
{{end}}
|
|
|
|
{{if eq .State "error"}}
|
2020-12-20 11:13:12 +08:00
|
|
|
<i class="commit-status warning icon red"></i>
|
2017-09-14 14:51:32 +08:00
|
|
|
{{end}}
|
|
|
|
{{if eq .State "failure"}}
|
2020-12-20 11:13:12 +08:00
|
|
|
<i class="commit-status remove icon red"></i>
|
2017-09-14 14:51:32 +08:00
|
|
|
{{end}}
|
|
|
|
{{if eq .State "warning"}}
|
2020-12-20 11:13:12 +08:00
|
|
|
<i class="commit-status warning sign icon yellow"></i>
|
2018-07-04 07:52:36 +08:00
|
|
|
{{end}}
|