mirror of
https://github.com/go-gitea/gitea
synced 2024-11-09 03:34:24 +00:00
8 lines
343 B
Cheetah
8 lines
343 B
Cheetah
|
{{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}}
|