From df05134494ccc4cf53ff816a6457c7e21a69f730 Mon Sep 17 00:00:00 2001 From: Angus Gibson Date: Wed, 9 Dec 2015 17:11:41 +1100 Subject: Break branch-selection dropdown into a template We only handle branch selection for repo home and commits pages, so the redirection URL is based on PageIsCommits --- templates/repo/commits.tmpl | 45 +-------------------------------------------- 1 file changed, 1 insertion(+), 44 deletions(-) (limited to 'templates/repo/commits.tmpl') diff --git a/templates/repo/commits.tmpl b/templates/repo/commits.tmpl index 0c8ca443..88a87ef8 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" .}}
-- cgit v1.2.3