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:
Trevor Dixonandwxiaoguang authored and GitHub committed 2026-10-13 23:59:39 -07:00
1 parent f0434cd8f2
commit aebdbd85fb
2 files changed
+1

No files matched your search

Whitespace-only changes.
@@ -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}}