From cbeeaa1b117c074ff6c7e128fe0f3b0f7b64a124 Mon Sep 17 00:00:00 2001 From: Morlinest Date: Thu, 6 Apr 2017 17:33:57 +0200 Subject: [PATCH] Fix and simplify repo branches UI (#1435) --- templates/repo/settings/branches.tmpl | 44 ++++++++++++--------------- 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/templates/repo/settings/branches.tmpl b/templates/repo/settings/branches.tmpl index d9d19845a5..7008e2e530 100644 --- a/templates/repo/settings/branches.tmpl +++ b/templates/repo/settings/branches.tmpl @@ -7,36 +7,32 @@

{{.i18n.Tr "repo.default_branch"}}

-
-
+
+

+ {{.i18n.Tr "repo.settings.default_branch_desc"}} +

+ {{.CsrfTokenHtml}} -
- {{.i18n.Tr "repo.settings.default_branch_desc"}} -
{{if not .Repository.IsBare}} -
-
- @@ -46,7 +42,7 @@
-