diff --git a/templates/repo/branch_dropdown.tmpl b/templates/repo/branch_dropdown.tmpl new file mode 100644 index 000000000..a825ee243 --- /dev/null +++ b/templates/repo/branch_dropdown.tmpl @@ -0,0 +1,44 @@ +
+ +
diff --git a/templates/repo/commits.tmpl b/templates/repo/commits.tmpl index 0c8ca443c..88a87ef8c 100644 --- a/templates/repo/commits.tmpl +++ b/templates/repo/commits.tmpl @@ -2,50 +2,7 @@
{{template "repo/header" .}}
-
- -
+ {{template "repo/branch_dropdown" .}} {{template "repo/commits_table" .}}
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index ccbe6639c..22a2f839a 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -15,50 +15,7 @@ {{end}} -
- -
+ {{template "repo/branch_dropdown" .}}