Refactor template ctx and render utils (#32422)

Clean up the templates
This commit is contained in:
wxiaoguang authored and GitHub committed 2024-11-05 14:04:26 +08:00
1 parent b068dbd40e
commit 4a469c8e1b
53 files changed
+281 -205

No files matched your search

@@ -53,7 +53,7 @@
<div class="notifications-bottom-row tw-text-16 tw-py-0.5">
<span class="issue-title tw-break-anywhere">
{{if .Issue}}
{{.Issue.Title | RenderEmoji $.Context | RenderCodeBlock}}
{{.Issue.Title | ctx.RenderUtils.RenderEmoji | RenderCodeBlock}}
{{else}}
{{.Repository.FullName}}
{{end}}