diff --git a/src/main/twirl/gitbucket/core/helper/commitcomment.scala.html b/src/main/twirl/gitbucket/core/helper/commitcomment.scala.html index ff09bae..63f099b 100644 --- a/src/main/twirl/gitbucket/core/helper/commitcomment.scala.html +++ b/src/main/twirl/gitbucket/core/helper/commitcomment.scala.html @@ -13,9 +13,6 @@ @helpers.avatarLink(comment.commentedUserName, 20) @helpers.user(comment.commentedUserName, styleClass="username strong") <span class="muted">@gitbucket.core.helper.html.datetimeago(comment.registeredDate)</span> - @if(comment.updatedDate.getTime > comment.registeredDate.getTime){ - - edited - } <span class="pull-right"> @if(hasWritePermission || context.loginAccount.map(_.userName == comment.commentedUserName).getOrElse(false)){ <a href="#" data-comment-id="@comment.commentId"><i class="octicon octicon-pencil"></i></a> diff --git a/src/main/twirl/gitbucket/core/issues/commentlist.scala.html b/src/main/twirl/gitbucket/core/issues/commentlist.scala.html index 57390de..6fdecdd 100644 --- a/src/main/twirl/gitbucket/core/issues/commentlist.scala.html +++ b/src/main/twirl/gitbucket/core/issues/commentlist.scala.html @@ -20,9 +20,6 @@ <a href="#comment-@comment.commentId"> @gitbucket.core.helper.html.datetimeago(comment.registeredDate) </a> - @if(comment.updatedDate.getTime > comment.registeredDate.getTime) { - - edited - } </span> @if(comment.action != "commit" && comment.action != "merge" && comment.action != "refer" && (isManageable || context.loginAccount.map(_.userName == comment.commentedUserName).getOrElse(false))){