diff --git a/src/main/twirl/gitbucket/core/helper/commitcomment.scala.html b/src/main/twirl/gitbucket/core/helper/commitcomment.scala.html
index 63f099b..ff09bae 100644
--- a/src/main/twirl/gitbucket/core/helper/commitcomment.scala.html
+++ b/src/main/twirl/gitbucket/core/helper/commitcomment.scala.html
@@ -13,6 +13,9 @@
@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 6fdecdd..57390de 100644
--- a/src/main/twirl/gitbucket/core/issues/commentlist.scala.html
+++ b/src/main/twirl/gitbucket/core/issues/commentlist.scala.html
@@ -20,6 +20,9 @@
@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))){