mirror of
https://github.com/go-gitea/gitea.git
synced 2025-03-01 06:15:24 +08:00
27 lines
956 B
Handlebars
27 lines
956 B
Handlebars
<!-- Pass in IsIssue (bool) if this conversation is attached to an Issue -->
|
|
<div class="conversation-container">
|
|
{{if .ConversationTitle}}
|
|
<div class="divider"></div>
|
|
<h2 class="tw-mb-0 tw-flex-1">
|
|
<span class="conversation-title" title="Comments">{{.ConversationTitle}}</span>
|
|
</h2>
|
|
<div class="divider"></div>
|
|
{{end}}
|
|
<div class="conversation-content comment-list prevent-before-timeline">
|
|
<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>
|
|
</div>
|
|
</div> |