From 410422f9bd7a2c39f0fd83273a9352ed15e93137 Mon Sep 17 00:00:00 2001 From: hiifong Date: Sat, 7 Dec 2024 15:39:57 +0800 Subject: [PATCH] only hide in ui --- templates/repo/issue/new_form.tmpl | 1 - templates/repo/issue/view_content/sidebar.tmpl | 2 -- templates/shared/issuelist.tmpl | 6 ------ 3 files changed, 9 deletions(-) diff --git a/templates/repo/issue/new_form.tmpl b/templates/repo/issue/new_form.tmpl index ceaaebc4d5440..bdc38acc40cb3 100644 --- a/templates/repo/issue/new_form.tmpl +++ b/templates/repo/issue/new_form.tmpl @@ -47,7 +47,6 @@
- {{template "repo/issue/branch_selector_field" $}} {{if .PageIsComparePull}} {{template "repo/issue/sidebar/reviewer_list" $.IssuePageMetaData}}
diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index 02f5d3e2df90f..8d92f93d59abd 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -1,6 +1,4 @@
- {{template "repo/issue/branch_selector_field" $}} - {{if .Issue.IsPull}} {{template "repo/issue/sidebar/reviewer_list" $.IssuePageMetaData}} {{template "repo/issue/sidebar/wip_switch" $}} diff --git a/templates/shared/issuelist.tmpl b/templates/shared/issuelist.tmpl index fe5184e7d224f..a71fb2e79bae7 100644 --- a/templates/shared/issuelist.tmpl +++ b/templates/shared/issuelist.tmpl @@ -99,12 +99,6 @@ {{.Project.Title}} {{end}} - {{if .Ref}} - - {{svg "octicon-git-branch" 14}} - {{index $.IssueRefEndNames .ID}} - - {{end}} {{$tasks := .GetTasks}} {{if gt $tasks 0}} {{$tasksDone := .GetTasksDone}}