diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index 39fd822098..8c08f1c1f1 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -142,12 +142,12 @@
{{svg "octicon-bookmark"}} {{template "shared/user/avatarlink" dict "user" .Poster}} - {{if eq .RefAction 3}}{{end}} + {{if eq .RefAction 3}}{{end}} {{template "shared/user/authorlink" .Poster}} {{ctx.Locale.Tr $refTr .EventTag $createdStr (.RefCommentLink ctx) $refFrom}} + {{if eq .RefAction 3}}{{end}} - {{if eq .RefAction 3}}{{end}}
{{.RefIssueTitle ctx}} {{.RefIssueIdent ctx}} @@ -447,7 +447,7 @@ {{end}} {{if and .Review .Review.CodeComments}} -
+
{{range $filename, $lines := .Review.CodeComments}} {{range $line, $comms := $lines}} {{template "repo/issue/view_content/conversation" dict "." $ "comments" $comms}} @@ -545,7 +545,7 @@ {{end}} {{if and .IsForcePush $.Issue.PullRequest.BaseRepo.Name}} - {{ctx.Locale.Tr "repo.issues.force_push_compare"}} + {{ctx.Locale.Tr "repo.issues.force_push_compare"}} {{end}}
{{if not .IsForcePush}} diff --git a/templates/repo/issue/view_content/comments_delete_time.tmpl b/templates/repo/issue/view_content/comments_delete_time.tmpl index 5534a30df8..219d5fc203 100644 --- a/templates/repo/issue/view_content/comments_delete_time.tmpl +++ b/templates/repo/issue/view_content/comments_delete_time.tmpl @@ -1,7 +1,7 @@ {{if and .comment.Time (.ctxData.Repository.IsTimetrackerEnabled ctx)}} {{/* compatibility with time comments made before v1.14 */}} {{if (not .comment.Time.Deleted)}} {{if (or .ctxData.IsAdmin (and .ctxData.IsSigned (eq .ctxData.SignedUserID .comment.PosterID)))}} - +