File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
<div class="ui segment sub-menu">
2
2
<div class="ui two horizontal center link list">
3
- {{if and (.Repository.EnableUnit $.UnitTypeCode) (not .IsBareRepo)}}
3
+ {{if and (.Repository.UnitEnabled $.UnitTypeCode) (not .IsBareRepo)}}
4
4
<div class="item{{if .PageIsCommits}} active{{end}}">
5
5
<a href="{{.RepoLink}}/commits/{{EscapePound .BranchName}}"><i class="octicon octicon-history"></i> <b>{{.CommitsCount}}</b> {{.i18n.Tr "repo.commits"}}</a>
6
6
</div>
7
7
{{end}}
8
- {{if and (.Repository.EnableUnit $.UnitTypeCode) (not .IsBareRepo) }}
8
+ {{if and (.Repository.UnitEnabled $.UnitTypeCode) (not .IsBareRepo) }}
9
9
<div class="item{{if .PageIsBranches}} active{{end}}">
10
10
<a href="{{.RepoLink}}/branches/"><i class="octicon octicon-git-branch"></i> <b>{{.BrancheCount}}</b> {{.i18n.Tr "repo.branches"}}</a>
11
11
</div>
You can’t perform that action at this time.
0 commit comments