mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-08-23 04:58:06 +02:00
* Make sure fmt catches all templates Make's `wildcard` is not recursive so it missed many template files, fix that by using `find`. * Update Makefile
7 lines
340 B
Handlebars
7 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}}
|