improve UI

This commit is contained in:
Lunny Xiao
2022-10-19 18:19:57 +08:00
committed by Jason Song
parent dcc552011e
commit 57cc7bf823
3 changed files with 60 additions and 30 deletions

View File

@@ -185,7 +185,7 @@
{{ if and (not .UnitBuildsGlobalDisabled) (.Permission.CanRead $.UnitTypeBuilds)}}
<a class="{{if .PageIsBuildList}}active{{end}} item" href="{{.RepoLink}}/builds">
{{svg "octicon-git-builds"}} {{.locale.Tr "repo.builds"}}
{{svg "octicon-play"}} {{.locale.Tr "repo.builds"}}
{{if .Repository.NumOpenRuns}}
<span class="ui blue small label">{{CountFmt .Repository.NumOpenRuns}}</span>
{{end}}