mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 21:49:22 +00:00
16 lines
777 B
Cheetah
16 lines
777 B
Cheetah
{{if eq .State "pending"}}
|
|
<a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status circle icon yellow"></i></a>
|
|
{{end}}
|
|
{{if eq .State "success"}}
|
|
<a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status check icon green"></i></a>
|
|
{{end}}
|
|
{{if eq .State "error"}}
|
|
<a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status warning icon red"></i></a>
|
|
{{end}}
|
|
{{if eq .State "failure"}}
|
|
<a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status remove icon red"></i></a>
|
|
{{end}}
|
|
{{if eq .State "warning"}}
|
|
<a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status warning sign icon yellow"></i></a>
|
|
{{end}}
|