mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-30 09:41:11 -05:00
dbbae67f44
Also added comments so the next time the dashboard repo list won't be forgotten Follows #25839 Signed-off-by: Yarden Shoham <git@yardenshoham.com>
13 lines
473 B
Handlebars
13 lines
473 B
Handlebars
<!-- make sure this matches the color logic in web_src/js/components/DashboardRepoList.vue -->
|
|
{{if eq .State "pending"}}
|
|
{{svg "octicon-dot-fill" 18 "commit-status icon text yellow"}}
|
|
{{end}}
|
|
{{if eq .State "success"}}
|
|
{{svg "octicon-check" 18 "commit-status icon text green"}}
|
|
{{end}}
|
|
{{if eq .State "error"}}
|
|
{{svg "gitea-exclamation" 18 "commit-status icon text red"}}
|
|
{{end}}
|
|
{{if eq .State "failure"}}
|
|
{{svg "octicon-x" 18 "commit-status icon text red"}}
|
|
{{end}}
|