You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

commit_status.tmpl 478B

123456789101112131415
  1. {{if eq .State "pending"}}
  2. {{svg "octicon-dot-fill" 18 "commit-status icon text yellow"}}
  3. {{end}}
  4. {{if eq .State "success"}}
  5. {{svg "octicon-check" 18 "commit-status icon text green"}}
  6. {{end}}
  7. {{if eq .State "error"}}
  8. {{svg "gitea-exclamation" 18 "commit-status icon text red"}}
  9. {{end}}
  10. {{if eq .State "failure"}}
  11. {{svg "octicon-x" 18 "commit-status icon text red"}}
  12. {{end}}
  13. {{if eq .State "warning"}}
  14. {{svg "gitea-exclamation" 18 "commit-status icon text yellow"}}
  15. {{end}}