File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1212 {{ctx.Locale.Tr "repo.settings.hooks"}}
1313 </a>
1414 {{end}}
15- {{if and (.Repository.UnitEnabled $.Context $.UnitTypeCode) (not .Repository.IsEmpty)}}
16- <a class="{{if .PageIsSettingsBranches}}active {{end}}item" href="{{.RepoLink}}/settings/branches">
17- {{ctx.Locale.Tr "repo.settings.branches"}}
18- </a>
15+ {{if .Repository.UnitEnabled $.Context $.UnitTypeCode}}
16+ {{if not .Repository.IsEmpty}}
17+ <a class="{{if .PageIsSettingsBranches}}active {{end}}item" href="{{.RepoLink}}/settings/branches">
18+ {{ctx.Locale.Tr "repo.settings.branches"}}
19+ </a>
20+ {{end}}
1921 <a class="{{if .PageIsSettingsTags}}active {{end}}item" href="{{.RepoLink}}/settings/tags">
2022 {{ctx.Locale.Tr "repo.settings.tags"}}
2123 </a>
You can’t perform that action at this time.
0 commit comments