2024-10-21 00:38:17 +08:00
|
|
|
<!-- Pass in IsIssue (bool) if this conversation is attached to an Issue -->
|
2024-10-29 16:48:18 +08:00
|
|
|
<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>
|
2024-10-21 00:38:17 +08:00
|
|
|
{{end}}
|
2024-10-29 16:48:18 +08:00
|
|
|
<div class="conversation-content comment-list prevent-before-timeline">
|
|
|
|
<div class="ui timeline">
|
|
|
|
{{if .IsIssue}}
|
|
|
|
{{template "repo/conversation/issue_header_comment" .}}
|
|
|
|
{{end}}
|
2024-10-21 00:38:17 +08:00
|
|
|
|
2024-10-29 16:48:18 +08:00
|
|
|
{{template "repo/conversation/comments" .}}
|
2024-10-21 00:38:17 +08:00
|
|
|
|
2024-10-29 16:48:18 +08:00
|
|
|
{{if .IsIssue}}
|
|
|
|
{{if and .Issue.IsPull (not $.Repository.IsArchived)}}
|
|
|
|
{{template "repo/issue/view_content/pull".}}
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
2024-10-21 00:38:17 +08:00
|
|
|
|
2024-10-29 16:48:18 +08:00
|
|
|
{{template "repo/conversation/comment_form" .}}
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-10-21 00:38:17 +08:00
|
|
|
</div>
|