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 29
29
{{ctx.Locale.Tr "repo.settings.hooks"}}
30
30
</a>
31
31
{{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}}
36
38
<a class="{{if .PageIsSettingsTags}}active {{end}}item" href="{{.RepoLink}}/settings/tags">
37
39
{{ctx.Locale.Tr "repo.settings.tags"}}
38
40
</a>
You can’t perform that action at this time.
0 commit comments