From 7c758cbdee9545fee069277b9364248b784e00aa Mon Sep 17 00:00:00 2001 From: Naoki Takezoe Date: Thu, 24 May 2018 11:03:41 +0900 Subject: [PATCH] Revert "show "edited" in edited comment" --- src/main/twirl/gitbucket/core/helper/commitcomment.scala.html | 3 --- src/main/twirl/gitbucket/core/issues/commentlist.scala.html | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/main/twirl/gitbucket/core/helper/commitcomment.scala.html b/src/main/twirl/gitbucket/core/helper/commitcomment.scala.html index ff09bae50..63f099b78 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") @gitbucket.core.helper.html.datetimeago(comment.registeredDate) - @if(comment.updatedDate.getTime > comment.registeredDate.getTime){ - - edited - } @if(hasWritePermission || context.loginAccount.map(_.userName == comment.commentedUserName).getOrElse(false)){   diff --git a/src/main/twirl/gitbucket/core/issues/commentlist.scala.html b/src/main/twirl/gitbucket/core/issues/commentlist.scala.html index 57390dec3..6fdecdd1a 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 @@ @gitbucket.core.helper.html.datetimeago(comment.registeredDate) - @if(comment.updatedDate.getTime > comment.registeredDate.getTime) { - - edited - } @if(comment.action != "commit" && comment.action != "merge" && comment.action != "refer" && (isManageable || context.loginAccount.map(_.userName == comment.commentedUserName).getOrElse(false))){