aboutsummaryrefslogtreecommitdiff
path: root/templates/repo/home.tmpl
diff options
context:
space:
mode:
authorweibaohui <weibaohui@yeah.net>2020-11-24 23:13:40 +0800
committerGitHub <noreply@github.com>2020-11-24 23:13:40 +0800
commitc7f58ca8703fcdd56c2db74361addb8f16d39b0c (patch)
treebd89bb3152688762dc4e1e2418250a6a34d948f6 /templates/repo/home.tmpl
parentb34d040c784b9a2eabfb192d1432b3f98c0eef02 (diff)
templates: fix typo of BranchCount (#6370)
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
Diffstat (limited to 'templates/repo/home.tmpl')
-rw-r--r--templates/repo/home.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl
index 7adf2dba..d3c9b95f 100644
--- a/templates/repo/home.tmpl
+++ b/templates/repo/home.tmpl
@@ -14,7 +14,7 @@
<a href="{{.RepoLink}}/commits/{{EscapePound .BranchName}}"><span class="ui text black"><i class="octicon octicon-history"></i> <b>{{.CommitsCount}}</b> {{.i18n.Tr "repo.commits"}}</span> </a>
</div>
<div class="item">
- <a href="{{.RepoLink}}/branches"><span class="ui text black"><i class="octicon octicon-git-branch"></i><b>{{.BrancheCount}}</b> {{.i18n.Tr "repo.git_branches"}}</span> </a>
+ <a href="{{.RepoLink}}/branches"><span class="ui text black"><i class="octicon octicon-git-branch"></i><b>{{.BranchCount}}</b> {{.i18n.Tr "repo.git_branches"}}</span> </a>
</div>
<div class="item">
<a href="{{.RepoLink}}/releases"><span class="ui text black"><i class="octicon octicon-tag"></i> <b>{{.Repository.NumTags}}</b> {{.i18n.Tr "repo.releases"}}</span> </a>