fix: template format

This commit is contained in:
Jason Song
2022-12-12 14:07:55 +08:00
parent d41fb40fb5
commit 5cfc48c288
4 changed files with 5 additions and 4 deletions

View File

@@ -33,7 +33,7 @@
</a>
{{end}}
{{if and .EnableActions (not .UnitActionsGlobalDisabled) (.Permission.CanRead $.UnitTypeActions)}}
<a class="{{if .PageIsSettingsRunners}}active{{end}} item" href="{{.RepoLink}}/settings/runners">
<a class="{{if .PageIsSettingsRunners}}active {{end}}item" href="{{.RepoLink}}/settings/runners">
{{.locale.Tr "repo.settings.runners"}}
</a>
{{end}}