diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-23 12:16:17 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-23 12:16:17 -0400 |
commit | f8cfb81fb027313e45b8ce505200f3d48b306fe2 (patch) | |
tree | 130d0f5a0adf638eedb4f9555954254d2747f48c /templates/repo | |
parent | b31070faf5ab73955585e4962d809be11098d767 (diff) | |
download | gitea-f8cfb81fb027313e45b8ce505200f3d48b306fe2.tar.gz gitea-f8cfb81fb027313e45b8ce505200f3d48b306fe2.zip |
Mirror updates
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/nav.tmpl | 4 | ||||
-rw-r--r-- | templates/repo/toolbar.tmpl | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/templates/repo/nav.tmpl b/templates/repo/nav.tmpl index a3358fd890..080cb72e57 100644 --- a/templates/repo/nav.tmpl +++ b/templates/repo/nav.tmpl @@ -53,9 +53,9 @@ </div> </div> </div> - <div class="btn-group"> + <!-- <div class="btn-group"> <button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="top" title="Star"><i class="fa fa-star"></i> {{.Repository.NumStars}}</button> - </div> + </div> --> {{end}} <div class="btn-group"> <a type="button" {{if not .IsRepositoryOwner}}href="/{{.Username}}/{{.Reponame}}/fork"{{end}} class="btn btn-default" data-toggle="tooltip" data-placement="top" title="Fork"><i class="fa fa-code-fork fa-lg"></i> {{.Repository.NumForks}}</a> diff --git a/templates/repo/toolbar.tmpl b/templates/repo/toolbar.tmpl index b51768a3c3..415023d17f 100644 --- a/templates/repo/toolbar.tmpl +++ b/templates/repo/toolbar.tmpl @@ -6,27 +6,27 @@ <li class="{{if .IsRepoToolbarSource}}active{{end}}"><a href="/{{.RepositoryLink}}">Source</a></li> {{if not .IsBareRepo}} <li class="{{if .IsRepoToolbarCommits}}active{{end}}"><a href="/{{.RepositoryLink}}/commits/{{.Branchname}}">Commits</a></li> - <li class="{{if .IsRepoToolbarBranches}}active{{end}}"><a href="/{{.RepositoryLink}}/branches">Branches</a></li> - <li class="{{if .IsRepoToolbarPulls}}active{{end}}"><a href="/{{.RepositoryLink}}/pulls">Pull Requests</a></li> + <!-- <li class="{{if .IsRepoToolbarBranches}}active{{end}}"><a href="/{{.RepositoryLink}}/branches">Branches</a></li> --> + <!-- <li class="{{if .IsRepoToolbarPulls}}active{{end}}"><a href="/{{.RepositoryLink}}/pulls">Pull Requests</a></li> --> <li class="{{if .IsRepoToolbarIssues}}active{{end}}"><a href="/{{.RepositoryLink}}/issues">Issues <!--<span class="badge">42</span>--></a></li> - <li class="dropdown"> + <!-- <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">More <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="/{{.RepositoryLink}}/release">Release</a></li> <li><a href="//{{.RepositoryLink}}/wiki">Wiki</a></li> </ul> - </li>{{end}} + </li> -->{{end}} </ul> <ul class="nav navbar-nav navbar-right"> {{if not .IsBareRepo}} - <li class="dropdown"> + <!-- <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Statistic <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Graphic</a></li> <li><a href="#">Pulse</a></li> <li><a href="#">Network</a></li> </ul> - </li>{{end}}{{if .IsRepositoryOwner}} + </li> -->{{end}}{{if .IsRepositoryOwner}} <li class="{{if .IsRepoToolbarSetting}}active{{end}}"><a href="/{{.RepositoryLink}}/settings">Settings</a> </li>{{end}} </ul> |