diff options
author | Bwko <bouwko@gmail.com> | 2017-10-26 02:49:16 +0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-10-26 08:49:16 +0800 |
commit | 3ab580c8d6b8a2c063d848f8e3002347c9e5cebb (patch) | |
tree | 3f66f793be25db1ca8baac8d5333e39bfdd4f7e1 /templates/repo/commits.tmpl | |
parent | e86a0bf3feab82c1b3439806245083dffb2f37c9 (diff) | |
download | gitea-3ab580c8d6b8a2c063d848f8e3002347c9e5cebb.tar.gz gitea-3ab580c8d6b8a2c063d848f8e3002347c9e5cebb.zip |
Add branch overiew page (#2108)
* Add branch overiew page
* fix changed method name on sub menu
* remove unused code
Diffstat (limited to 'templates/repo/commits.tmpl')
-rw-r--r-- | templates/repo/commits.tmpl | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/templates/repo/commits.tmpl b/templates/repo/commits.tmpl index 20ad9ad02f..418ac1a355 100644 --- a/templates/repo/commits.tmpl +++ b/templates/repo/commits.tmpl @@ -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" .}} |