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 2929 {{ctx.Locale.Tr "repo.settings.hooks"}}
3030 </a>
3131 {{end}}
32- {{if and (.Repository.UnitEnabled $.Context $.UnitTypeCode) (not .Repository.IsEmpty)}}
33- <a class="{{if .PageIsSettingsBranches}}active {{end}}item" href="{{.RepoLink}}/settings/branches">
34- {{ctx.Locale.Tr "repo.settings.branches"}}
35- </a>
32+ {{if .Repository.UnitEnabled $.Context $.UnitTypeCode}}
33+ {{if not .Repository.IsEmpty}}
34+ <a class="{{if .PageIsSettingsBranches}}active {{end}}item" href="{{.RepoLink}}/settings/branches">
35+ {{ctx.Locale.Tr "repo.settings.branches"}}
36+ </a>
37+ {{end}}
3638 <a class="{{if .PageIsSettingsTags}}active {{end}}item" href="{{.RepoLink}}/settings/tags">
3739 {{ctx.Locale.Tr "repo.settings.tags"}}
3840 </a>
You can’t perform that action at this time.
0 commit comments