2023-07-21 18:32:25 +08:00
|
|
|
<!-- make sure this matches the color logic in web_src/js/components/DashboardRepoList.vue -->
|
2023-07-21 16:24:36 +08:00
|
|
|
{{if eq .State "pending"}}
|
2023-03-14 05:05:19 +08:00
|
|
|
{{svg "octicon-dot-fill" 18 "commit-status icon text yellow"}}
|
|
|
|
{{end}}
|
2017-09-14 14:51:32 +08:00
|
|
|
{{if eq .State "success"}}
|
2022-08-10 05:55:29 +08:00
|
|
|
{{svg "octicon-check" 18 "commit-status icon text green"}}
|
2017-09-14 14:51:32 +08:00
|
|
|
{{end}}
|
|
|
|
{{if eq .State "error"}}
|
2022-08-10 05:55:29 +08:00
|
|
|
{{svg "gitea-exclamation" 18 "commit-status icon text red"}}
|
2017-09-14 14:51:32 +08:00
|
|
|
{{end}}
|
|
|
|
{{if eq .State "failure"}}
|
2022-08-10 05:55:29 +08:00
|
|
|
{{svg "octicon-x" 18 "commit-status icon text red"}}
|
2017-09-14 14:51:32 +08:00
|
|
|
{{end}}
|
2023-10-09 11:56:02 +08:00
|
|
|
{{if eq .State "warning"}}
|
|
|
|
{{svg "gitea-exclamation" 18 "commit-status icon text yellow"}}
|
|
|
|
{{end}}
|