summaryrefslogtreecommitdiffstats
path: root/templates/repo/diff/comment_form_datahandler.tmpl
blob: d0e493488df0ab46501b180e3688d2f6e9bdbe24 (plain)
1
2
3
4
5
6
7
{{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}}