@ -508,11 +508,11 @@
</div>
</div>
</div>
</div>
{{ end }}
{{ end }}
<div id="code-comments- {{ ( in dex $ comms 0 ) .ID }} " class="comment-code-cloud ui segment {{ if $ resolved }} hide {{ end }} py -3">
<div id="code-comments- {{ ( in dex $ comms 0 ) .ID }} " class="comment-code-cloud ui segment {{ if $ resolved }} hide {{ end }} p-3">
<div class="ui comments mb-0">
<div class="ui comments mb-0">
{{ range $ comms }}
{{ range $ comms }}
{{ $ createdSubStr : = TimeSinceUnix .CreatedUnix $ .Lang }}
{{ $ createdSubStr : = TimeSinceUnix .CreatedUnix $ .Lang }}
<div class="comment code-comment" id=" {{ .HashTag }} ">
<div class="comment code-comment pb-4 " id=" {{ .HashTag }} ">
<div class="content">
<div class="content">
<div class="header comment-header">
<div class="header comment-header">
<div class="comment-header-left df ac">
<div class="comment-header-left df ac">
@ -572,21 +572,33 @@
</div>
</div>
{{ end }}
{{ end }}
</div>
</div>
{{ template "repo/diff/comment_form_datahandler" dict "hidden" true "reply" ( in dex $ comms 0 ) .ReviewID "root" $ "comment" ( in dex $ comms 0 ) }}
<div class="df ac fw mt-3 mb-2 mx-3">
<div class="f1">
{{ if and $ .CanMarkConversation $ isNotPending }}
<button class="ui tiny button resolve-conversation" data-origin="timeline" data-action=" {{ if not $ resolved }} Resolve {{ else }} UnResolve {{ end }} " data-comment-id=" {{ ( in dex $ comms 0 ) .ID }} " data-update-url=" {{ $ .RepoLink }} /issues/resolve_conversation" >
{{ if $ resolved }}
{{ if $ resolved }}
{{ $ .i18n .Tr "repo.issues.review.un_resolve_conversation" }}
<div class="ui grey text">
{{ else }}
{{ svg "octicon-check" 1 6 "mr-2" }}
{{ $ .i18n .Tr "repo.issues.review.resolve_conversation" }}
<b> {{ $ resolveDoer .Name }} </b> {{ $ .i18n .Tr "repo.issues.review.resolved_by" }}
</div>
{{ end }}
{{ end }}
</button>
</div>
{{ end }}
<div>
{{ if and $ .CanMarkConversation $ isNotPending }}
{{ if $ resolved }}
<button class="ui tiny basic button resolve-conversation" data-origin="timeline" data-action=" {{ if not $ resolved }} Resolve {{ else }} UnResolve {{ end }} " data-comment-id=" {{ ( in dex $ comms 0 ) .ID }} " data-update-url=" {{ $ .RepoLink }} /issues/resolve_conversation">
<span class="ui grey text"><b> {{ $ resolveDoer .Name }} </b> {{ $ .i18n .Tr "repo.issues.review.resolved_by" }} </span>
{{ if $ resolved }}
{{ end }}
{{ $ .i18n .Tr "repo.issues.review.un_resolve_conversation" }}
{{ else }}
{{ $ .i18n .Tr "repo.issues.review.resolve_conversation" }}
{{ end }}
</button>
{{ end }}
{{ if and $ .SignedUserID ( not $ .Repository .IsArchived ) }}
<button class="comment-form-reply ui green tiny labeled icon button ml-2 mr-0">
{{ svg "octicon-reply" 1 6 "reply icon mr-2" }} {{ $ .i18n .Tr "repo.diff.comment.reply" }}
</button>
{{ end }}
</div>
</div>
{{ template "repo/diff/comment_form_datahandler" dict "hidden" true "reply" ( in dex $ comms 0 ) .ReviewID "root" $ "comment" ( in dex $ comms 0 ) }}
</div>
</div>
</div>
</div>
{{ end }}
{{ end }}