mirror of
https://github.com/go-gitea/gitea
synced 2024-08-19 22:00:48 +02:00
8 lines
290 B
Cheetah
8 lines
290 B
Cheetah
{{if $.comment}}
|
|
{{ template "repo/diff/comment_form" dict "root" $.root "Line" $.comment.UnsignedLine "File" $.comment.TreePath "Side" $.comment.DiffSide}}
|
|
{{else if $.root}}
|
|
{{ template "repo/diff/comment_form" $}}
|
|
{{else}}
|
|
{{ template "repo/diff/comment_form" dict "root" $}}
|
|
{{end}}
|