From dd136858f1ea40ad3c94191d647487fa4f31926c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 18 Oct 2024 20:33:49 +0200 Subject: Adding upstream version 9.0.0. Signed-off-by: Daniel Baumann --- .../sidebar/branch_selector_field.tmpl | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 templates/repo/issue/view_content/sidebar/branch_selector_field.tmpl (limited to 'templates/repo/issue/view_content/sidebar/branch_selector_field.tmpl') diff --git a/templates/repo/issue/view_content/sidebar/branch_selector_field.tmpl b/templates/repo/issue/view_content/sidebar/branch_selector_field.tmpl new file mode 100644 index 0000000..c23e13b --- /dev/null +++ b/templates/repo/issue/view_content/sidebar/branch_selector_field.tmpl @@ -0,0 +1,59 @@ +{{if and (not .Issue.IsPull) (not .PageIsComparePull)}} + + +
+ {{$.CsrfTokenHtml}} +
+{{/* TODO: share this branch selector dropdown with the same in repo page */}} + + +
+{{end}} -- cgit v1.2.3