2017-09-14 08:51:32 +02:00
|
|
|
{{if eq .State "pending"}}
|
2019-06-14 03:32:14 +02:00
|
|
|
<a class="commit-status-link" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status circle icon yellow"></i></a>
|
2017-09-14 08:51:32 +02:00
|
|
|
{{end}}
|
|
|
|
{{if eq .State "success"}}
|
2019-06-14 03:32:14 +02:00
|
|
|
<a class="commit-status-link" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status check icon green"></i></a>
|
2017-09-14 08:51:32 +02:00
|
|
|
{{end}}
|
|
|
|
{{if eq .State "error"}}
|
2019-06-14 03:32:14 +02:00
|
|
|
<a class="commit-status-link" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status warning icon red"></i></a>
|
2017-09-14 08:51:32 +02:00
|
|
|
{{end}}
|
|
|
|
{{if eq .State "failure"}}
|
2019-06-14 03:32:14 +02:00
|
|
|
<a class="commit-status-link" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status remove icon red"></i></a>
|
2017-09-14 08:51:32 +02:00
|
|
|
{{end}}
|
|
|
|
{{if eq .State "warning"}}
|
2019-06-14 03:32:14 +02:00
|
|
|
<a class="commit-status-link" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status warning sign icon yellow"></i></a>
|
2018-07-04 01:52:36 +02:00
|
|
|
{{end}}
|