2014-09-27 14:38:57 +05:30
|
|
|
<div id="repo-sidebar" class="right grid-1-6">
|
2014-08-02 23:17:33 +05:30
|
|
|
<ul class="menu menu-vertical" id="repo-sidebar-nav">
|
|
|
|
<li>
|
2014-09-23 23:17:54 +05:30
|
|
|
<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>
|
2014-08-02 23:17:33 +05:30
|
|
|
</li>
|
2014-08-31 22:03:40 +05:30
|
|
|
<!-- <li>
|
2014-08-02 23:17:33 +05:30
|
|
|
<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>
|
2014-08-31 22:03:40 +05:30
|
|
|
</li> -->
|
2014-08-02 23:17:33 +05:30
|
|
|
<li class="border-bottom"></li>
|
|
|
|
<li class="head">{{if .IsViewBranch}}{{.BranchName}}{{else}}{{ShortSha .BranchName}}{{end}}</li>
|
|
|
|
<li>
|
2014-11-08 03:14:25 +05:30
|
|
|
<a class="radius" href="{{.RepoLink}}/commits/{{EscapePound .BranchName}}"><i class="octicon octicon-history"></i>{{.i18n.Tr "repo.commits"}} <span class="num right label label-gray label-radius">{{.CommitsCount}}</span></a>
|
2014-08-02 23:17:33 +05:30
|
|
|
</li>
|
2014-08-31 22:03:40 +05:30
|
|
|
<!-- <li>
|
2014-08-02 23:17:33 +05:30
|
|
|
<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>
|
2014-08-31 22:03:40 +05:30
|
|
|
</li> -->
|
2014-08-02 23:17:33 +05:30
|
|
|
<li>
|
2014-09-23 23:17:54 +05:30
|
|
|
<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>
|
2014-08-02 23:17:33 +05:30
|
|
|
</li>
|
2014-08-31 22:03:40 +05:30
|
|
|
<!-- <li>
|
2014-08-02 23:17:33 +05:30
|
|
|
<a class="radius" href="#"><i class="octicon octicon-organization"></i>contributors <span class="num right label label-gray label-radius">43</span></a>
|
2014-08-31 22:03:40 +05:30
|
|
|
</li> -->
|
2015-02-16 16:21:56 +05:30
|
|
|
{{if .IsRepositoryAdmin}}
|
2014-08-02 23:17:33 +05:30
|
|
|
<li class="border-bottom"></li>
|
|
|
|
<li>
|
2014-09-23 23:17:54 +05:30
|
|
|
<a class="radius" href="{{.RepoLink}}/settings"><i class="octicon octicon-tools"></i>{{.i18n.Tr "repo.settings"}}</a>
|
2014-08-02 23:17:33 +05:30
|
|
|
</li>
|
2014-09-29 13:34:48 +05:30
|
|
|
{{end}}
|
2014-08-02 23:17:33 +05:30
|
|
|
</ul>
|
|
|
|
</div>
|