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 636B

123456789101112131415
  1. {{if eq .State "pending"}}
  2. <a href="{{.TargetURL}}" target=_blank><i class="commit-status circle icon yellow"></i></a>
  3. {{end}}
  4. {{if eq .State "success"}}
  5. <a href="{{.TargetURL}}" target=_blank><i class="commit-status check icon green"></i></a>
  6. {{end}}
  7. {{if eq .State "error"}}
  8. <a href="{{.TargetURL}}" target=_blank><i class="commit-status warning icon red"></i></a>
  9. {{end}}
  10. {{if eq .State "failure"}}
  11. <a href="{{.TargetURL}}" target=_blank><i class="commit-status remove icon red"></i></a>
  12. {{end}}
  13. {{if eq .State "warning"}}
  14. <a href="{{.TargetURL}}" target=_blank><i class="commit-status warning sign icon yellow"></i></a>
  15. {{end}}