From a2e150817c110ae0647c14d4b24903a755e1edc7 Mon Sep 17 00:00:00 2001 From: garbagetown Date: Sat, 18 Mar 2017 01:06:52 +0900 Subject: [PATCH] add permalink to issue comment --- src/main/twirl/gitbucket/core/issues/commentlist.scala.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/twirl/gitbucket/core/issues/commentlist.scala.html b/src/main/twirl/gitbucket/core/issues/commentlist.scala.html index a08d31006..976969dd5 100644 --- a/src/main/twirl/gitbucket/core/issues/commentlist.scala.html +++ b/src/main/twirl/gitbucket/core/issues/commentlist.scala.html @@ -46,7 +46,9 @@ } else { referenced the @issueOrPullRequest() } - @gitbucket.core.helper.html.datetimeago(comment.registeredDate) + + @gitbucket.core.helper.html.datetimeago(comment.registeredDate) + @if(comment.action != "commit" && comment.action != "merge" && comment.action != "refer" && (isManageable || context.loginAccount.map(_.userName == comment.commentedUserName).getOrElse(false))){