]> source.dussan.org Git - gitea.git/commit
Refactor the "attachments" sub-template data key to RenderedContent (#29517)
authorwxiaoguang <wxiaoguang@gmail.com>
Fri, 1 Mar 2024 10:56:29 +0000 (18:56 +0800)
committerGitHub <noreply@github.com>
Fri, 1 Mar 2024 10:56:29 +0000 (10:56 +0000)
commitb8a598e6a43fa65db23b88d3b3b281b5f2f7c2e0
tree563ed82d36a3c751bd730b6c15a03214422c6525
parentfb42972c057364a1dc99dfb528554e7a94415be7
Refactor the "attachments" sub-template data key to RenderedContent (#29517)

The value passed into "attachments" sub-template is from
"RedneredContent", so use the same name for consistent. And it makes
readers easy to know its data type.
templates/repo/diff/comments.tmpl
templates/repo/issue/view_content.tmpl
templates/repo/issue/view_content/attachments.tmpl
templates/repo/issue/view_content/comments.tmpl
templates/repo/issue/view_content/conversation.tmpl