current page

This commit is contained in:
Lunny Xiao
2022-10-24 20:23:20 +08:00
committed by Jason Song
parent e28c95ea5c
commit e5b835cf52
3 changed files with 3 additions and 2 deletions

View File

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