diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-09-23 13:47:54 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-09-23 13:47:54 -0400 |
commit | a1109e6fbc31ec63cec50c3994e487a6bce27454 (patch) | |
tree | 49be1d99a706b4eea1931db678ee3c7a5adef259 /templates/repo/sidebar.tmpl | |
parent | ebb05475ed15fffc37145799ce7c72b65ccdbfc5 (diff) | |
download | gitea-a1109e6fbc31ec63cec50c3994e487a6bce27454.tar.gz gitea-a1109e6fbc31ec63cec50c3994e487a6bce27454.zip |
Page: Repository home page
Diffstat (limited to 'templates/repo/sidebar.tmpl')
-rw-r--r-- | templates/repo/sidebar.tmpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/repo/sidebar.tmpl b/templates/repo/sidebar.tmpl index f671bfc1b1..a4fa17b757 100644 --- a/templates/repo/sidebar.tmpl +++ b/templates/repo/sidebar.tmpl @@ -1,7 +1,7 @@ <div id="repo-sidebar" class="right grid-1-5"> <ul class="menu menu-vertical" id="repo-sidebar-nav"> <li> - <a class="radius" href="{{.RepoLink}}/issues"><i class="octicon octicon-issue-opened"></i>Issues<span class="num right label label-blue label-radius">{{.Repository.NumOpenIssues}}</span></a> + <a class="radius" href="{{.RepoLink}}/issues"><i class="octicon octicon-issue-opened"></i>{{.i18n.Tr "repo.issues"}}<span class="num right label label-blue label-radius">{{.Repository.NumOpenIssues}}</span></a> </li> <!-- <li> <a class="radius" href="{{.RepoLink}}/pulls"><i class="octicon octicon-git-pull-request"></i>Pull Requests<span class="num right label label-blue label-radius">{{.Repository.NumOpenPulls}}</span></a> @@ -9,20 +9,20 @@ <li class="border-bottom"></li> <li class="head">{{if .IsViewBranch}}{{.BranchName}}{{else}}{{ShortSha .BranchName}}{{end}}</li> <li> - <a class="radius" href="{{.RepoLink}}/commits/{{.BranchName}}"><i class="octicon octicon-history"></i>Commits <span class="num right label label-gray label-radius">{{.CommitsCount}}</span></a> + <a class="radius" href="{{.RepoLink}}/commits/{{.BranchName}}"><i class="octicon octicon-history"></i>{{.i18n.Tr "repo.commits"}} <span class="num right label label-gray label-radius">{{.CommitsCount}}</span></a> </li> <!-- <li> <a class="radius" href="{{.RepoLink}}/branches"><i class="octicon octicon-git-branch"></i>Branches<span class="num right label label-gray label-radius">{{.BrancheCount}}</span></a> </li> --> <li> - <a class="radius" href="{{.RepoLink}}/releases"><i class="octicon octicon-tag"></i>Releases <span class="num right label label-gray label-radius">{{.Repository.NumTags}}</span></a> + <a class="radius" href="{{.RepoLink}}/releases"><i class="octicon octicon-tag"></i>{{.i18n.Tr "repo.releases"}} <span class="num right label label-gray label-radius">{{.Repository.NumTags}}</span></a> </li> <!-- <li> <a class="radius" href="#"><i class="octicon octicon-organization"></i>contributors <span class="num right label label-gray label-radius">43</span></a> </li> --> <li class="border-bottom"></li> <li> - <a class="radius" href="{{.RepoLink}}/settings"><i class="octicon octicon-tools"></i>settings</a> + <a class="radius" href="{{.RepoLink}}/settings"><i class="octicon octicon-tools"></i>{{.i18n.Tr "repo.settings"}}</a> </li> </ul> </div>
\ No newline at end of file |