2017-09-14 12:21:32 +05:30
|
|
|
{{if eq .State "pending"}}
|
2022-08-10 03:25:29 +05:30
|
|
|
{{svg "octicon-dot-fill" 18 "commit-status icon text yellow"}}
|
2017-09-14 12:21:32 +05:30
|
|
|
{{end}}
|
2023-03-14 02:35:19 +05:30
|
|
|
{{if eq .State "running"}}
|
|
|
|
{{svg "octicon-dot-fill" 18 "commit-status icon text yellow"}}
|
|
|
|
{{end}}
|
2017-09-14 12:21:32 +05:30
|
|
|
{{if eq .State "success"}}
|
2022-08-10 03:25:29 +05:30
|
|
|
{{svg "octicon-check" 18 "commit-status icon text green"}}
|
2017-09-14 12:21:32 +05:30
|
|
|
{{end}}
|
|
|
|
{{if eq .State "error"}}
|
2022-08-10 03:25:29 +05:30
|
|
|
{{svg "gitea-exclamation" 18 "commit-status icon text red"}}
|
2017-09-14 12:21:32 +05:30
|
|
|
{{end}}
|
|
|
|
{{if eq .State "failure"}}
|
2022-08-10 03:25:29 +05:30
|
|
|
{{svg "octicon-x" 18 "commit-status icon text red"}}
|
2017-09-14 12:21:32 +05:30
|
|
|
{{end}}
|
|
|
|
{{if eq .State "warning"}}
|
2022-08-10 03:25:29 +05:30
|
|
|
{{svg "gitea-exclamation" 18 "commit-status icon text yellow"}}
|
2018-07-04 05:22:36 +05:30
|
|
|
{{end}}
|