gitea/templates/repo/conversation/conversation.tmpl
2024-10-21 00:38:17 +08:00

17 lines
554 B
Handlebars

<!-- Pass in IsIssue (bool) if this conversation is attached to an Issue -->
<!-- Pass in IsCommit (bool) if this conversation is attached to a Commit -->
<div class="ui timeline">
{{if .IsIssue}}
{{template "repo/conversation/issue_header_comment" .}}
{{end}}
{{template "repo/conversation/comments" .}}
{{if .IsIssue}}
{{if and .Issue.IsPull (not $.Repository.IsArchived)}}
{{template "repo/issue/view_content/pull".}}
{{end}}
{{end}}
{{template "repo/conversation/comment_form" .}}
</div>