Skip to content

Commit

Permalink
fix changed method name on sub menu
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny authored and lafriks committed Oct 25, 2017
1 parent d5b6e23 commit 3f6a600
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/repo/sub_menu.tmpl
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<div class="ui segment sub-menu">
<div class="ui two horizontal center link list">
{{if and (.Repository.EnableUnit $.UnitTypeCode) (not .IsBareRepo)}}
{{if and (.Repository.UnitEnabled $.UnitTypeCode) (not .IsBareRepo)}}
<div class="item{{if .PageIsCommits}} active{{end}}">
<a href="{{.RepoLink}}/commits/{{EscapePound .BranchName}}"><i class="octicon octicon-history"></i> <b>{{.CommitsCount}}</b> {{.i18n.Tr "repo.commits"}}</a>
</div>
{{end}}
{{if and (.Repository.EnableUnit $.UnitTypeCode) (not .IsBareRepo) }}
{{if and (.Repository.UnitEnabled $.UnitTypeCode) (not .IsBareRepo) }}
<div class="item{{if .PageIsBranches}} active{{end}}">
<a href="{{.RepoLink}}/branches/"><i class="octicon octicon-git-branch"></i> <b>{{.BrancheCount}}</b> {{.i18n.Tr "repo.branches"}}</a>
</div>
Expand Down

0 comments on commit 3f6a600

Please sign in to comment.