From 95c408ffa593efa781442a46394cadb0e401d2da Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Wed, 6 Sep 2017 20:02:51 +0800 Subject: [PATCH] hide branch on pull request view or create UI (#2454) --- templates/repo/issue/branch_selector_field.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/repo/issue/branch_selector_field.tmpl b/templates/repo/issue/branch_selector_field.tmpl index 72b953b66601..8758be4ae0ac 100644 --- a/templates/repo/issue/branch_selector_field.tmpl +++ b/templates/repo/issue/branch_selector_field.tmpl @@ -1,3 +1,4 @@ +{{if and (not .Issue.IsPull) (not .PageIsComparePull)}}