code.gitea.io/gitea@v1.22.3/templates/repo/commit_status.tmpl (about)

     1  <!-- make sure this matches the color logic in web_src/js/components/DashboardRepoList.vue -->
     2  {{if eq .State "pending"}}
     3  	{{svg "octicon-dot-fill" 18 "commit-status icon text yellow"}}
     4  {{end}}
     5  {{if eq .State "success"}}
     6  	{{svg "octicon-check" 18 "commit-status icon text green"}}
     7  {{end}}
     8  {{if eq .State "error"}}
     9  	{{svg "gitea-exclamation" 18 "commit-status icon text red"}}
    10  {{end}}
    11  {{if eq .State "failure"}}
    12  	{{svg "octicon-x" 18 "commit-status icon text red"}}
    13  {{end}}
    14  {{if eq .State "warning"}}
    15  	{{svg "gitea-exclamation" 18 "commit-status icon text yellow"}}
    16  {{end}}