mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-24 18:56:11 +01:00
8 lines
343 B
Handlebars
8 lines
343 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}}
|