mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-01-05 23:30:02 +01:00
Revert "show "edited" in edited comment"
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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))){
|
||||
|
||||
Reference in New Issue
Block a user