mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-19 16:18:11 +00:00
enhance(repo): allow custom content in issue and pull request sidebars (#39764)
Add custom template support for issue sidebar. * Fix https://github.com/go-gitea/gitea/issues/39763 --------- Signed-off-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
co-authored by
wxiaoguang
parent
f0434cd8f2
commit
aebdbd85fb
@@ -1,4 +1,5 @@
|
||||
<div class="issue-content-right ui segment" data-global-init="initRepoIssueSidebar">
|
||||
{{template "custom/extra_repo_issue_sidebar_top" $}}
|
||||
{{template "repo/issue/branch_selector_field" $}}
|
||||
|
||||
{{if .Issue.IsPull}}
|
||||
|
||||
Reference in New Issue
Block a user