Files
new-api/templates/repo/diff/comment_form_datahandler.tmpl
2026-05-30 22:47:36 +08:00

8 lines
340 B
Handlebars

{{if $.comment}}
{{template "repo/diff/comment_form" dict "root" $.root "hidden" $.hidden "reply" $.reply "Line" $.comment.UnsignedLine "File" $.comment.TreePath "Side" $.comment.DiffSide "HasComments" true}}
{{else if $.root}}
{{template "repo/diff/comment_form" $}}
{{else}}
{{template "repo/diff/comment_form" dict "root" $}}
{{end}}