mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-24 05:41:13 +08:00
9ce4d89e99
- Fix layout overflow in repo file list. - Fix invisible status icon in file view and commit list. In file view, the icon was moved to the left because I could not figure out a proper fix because of HTML tables. - Added title attribute to commit messages. - Fixed two CSS linter warnings in existing CSS. - Fixed CI variable check in 'make css'. Fixes: https://github.com/go-gitea/gitea/issues/7180
16 lines
912 B
Cheetah
16 lines
912 B
Cheetah
{{if eq .State "pending"}}
|
|
<a class="commit-status-link" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status circle icon yellow"></i></a>
|
|
{{end}}
|
|
{{if eq .State "success"}}
|
|
<a class="commit-status-link" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status check icon green"></i></a>
|
|
{{end}}
|
|
{{if eq .State "error"}}
|
|
<a class="commit-status-link" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status warning icon red"></i></a>
|
|
{{end}}
|
|
{{if eq .State "failure"}}
|
|
<a class="commit-status-link" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status remove icon red"></i></a>
|
|
{{end}}
|
|
{{if eq .State "warning"}}
|
|
<a class="commit-status-link" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status warning sign icon yellow"></i></a>
|
|
{{end}}
|