2023-07-18 18:59:02 +02:00
|
|
|
{{if or (eq .State "pending") (eq .State "running")}}
|
2023-03-13 22:05:19 +01:00
|
|
|
{{svg "octicon-dot-fill" 18 "commit-status icon text yellow"}}
|
|
|
|
{{end}}
|
2017-09-14 08:51:32 +02:00
|
|
|
{{if eq .State "success"}}
|
2022-08-09 23:55:29 +02:00
|
|
|
{{svg "octicon-check" 18 "commit-status icon text green"}}
|
2017-09-14 08:51:32 +02:00
|
|
|
{{end}}
|
|
|
|
{{if eq .State "error"}}
|
2022-08-09 23:55:29 +02:00
|
|
|
{{svg "gitea-exclamation" 18 "commit-status icon text red"}}
|
2017-09-14 08:51:32 +02:00
|
|
|
{{end}}
|
|
|
|
{{if eq .State "failure"}}
|
2022-08-09 23:55:29 +02:00
|
|
|
{{svg "octicon-x" 18 "commit-status icon text red"}}
|
2017-09-14 08:51:32 +02:00
|
|
|
{{end}}
|
|
|
|
{{if eq .State "warning"}}
|
2022-08-09 23:55:29 +02:00
|
|
|
{{svg "gitea-exclamation" 18 "commit-status icon text yellow"}}
|
2018-07-04 01:52:36 +02:00
|
|
|
{{end}}
|