refactor: clean up pull request comment related code and template dict (#39789)

1. drop comment.commit_id
2. refactor templates, remove `dict "." .` from templates
This commit is contained in:
wxiaoguang authored and GitHub committed 2026-10-15 23:09:41 +00:00
1 parent 1c117a9352
commit 222136ee71
28 files changed
+321 -266

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@
<div class="ui attached table segment">
{{template "shared/searchfile" dict "RepoLink" $repo.Link "SearchResult" .}}
</div>
{{template "shared/searchbottom" dict "root" $ "result" .}}
{{template "shared/searchbottom" dict "result" .}}
</div>
{{end}}
</div>