diff --git a/src/main/twirl/gitbucket/core/issues/commentlist.scala.html b/src/main/twirl/gitbucket/core/issues/commentlist.scala.html index 00f1ac0..684efdf 100644 --- a/src/main/twirl/gitbucket/core/issues/commentlist.scala.html +++ b/src/main/twirl/gitbucket/core/issues/commentlist.scala.html @@ -236,47 +236,9 @@ @gitbucket.core.helper.html.commitcomments(comments, isManageable, repository, pullreq.map(_.commitIdTo)) } case comment: gitbucket.core.model.CommitComment => { -
-
-
- @helpers.avatar(comment.commentedUserName, 20) - @helpers.user(comment.commentedUserName, styleClass="username strong") - - commented on - @if(comment.issueId.isDefined){ - #@comment.issueId - } - @comment.fileName.map { fileName => - @fileName in - } - @comment.commitId.substring(0, 7) - @gitbucket.core.helper.html.datetimeago(comment.registeredDate) - - - @if(isManageable || context.loginAccount.map(_.userName == comment.commentedUserName).getOrElse(false)){ -   - - } - -
-
- @helpers.markdown( - markdown = comment.content, - repository = repository, - enableWikiLink = false, - enableRefsLink = true, - enableLineBreaks = true, - enableTaskList = false, - hasWritePermission = isManageable - ) -
-
-
- @* @gitbucket.core.helper.html.commitcomments(gitbucket.core.model.CommitComments( comment.fileName.getOrElse(""), comment.commentedUserName, comment.registeredDate, Seq(comment) ), isManageable, repository, pullreq.map(_.commitIdTo)) - *@ } }