1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-03 16:18:36 +00:00

Add branch overiew page (#2108)

* Add branch overiew page

* fix changed method name on sub menu

* remove unused code
This commit is contained in:
Bwko
2017-10-26 02:49:16 +02:00
committed by Lunny Xiao
parent e86a0bf3fe
commit 3ab580c8d6
21 changed files with 701 additions and 52 deletions

View File

@@ -2,18 +2,19 @@
<div class="repository commits">
{{template "repo/header" .}}
<div class="ui container">
<div class="ui secondary menu">
{{template "repo/branch_dropdown" .}}
<div class="fitted item">
<a href="{{.RepoLink}}/graph" class="ui basic small button">
<span class="text">
<i class="octicon octicon-git-branch"></i>
</span>
{{.i18n.Tr "repo.commit_graph"}}
</a>
</div>
</div>
{{template "repo/commits_table" .}}
{{template "repo/sub_menu" .}}
<div class="ui secondary menu">
{{template "repo/branch_dropdown" .}}
<div class="fitted item">
<a href="{{.RepoLink}}/graph" class="ui basic small button">
<span class="text">
<i class="octicon octicon-git-branch"></i>
</span>
{{.i18n.Tr "repo.commit_graph"}}
</a>
</div>
</div>
{{template "repo/commits_table" .}}
</div>
</div>
{{template "base/footer" .}}