diff --git a/src/main/twirl/gitbucket/core/issues/commentform.scala.html b/src/main/twirl/gitbucket/core/issues/commentform.scala.html index d2bbb2f..511fe47 100644 --- a/src/main/twirl/gitbucket/core/issues/commentform.scala.html +++ b/src/main/twirl/gitbucket/core/issues/commentform.scala.html @@ -17,7 +17,7 @@ enableRefsLink = true, enableTaskList = true, hasWritePermission = hasWritePermission, - style = "width: 635px; height: 100px; max-height: 150px;", + style = "", elastic = true )
diff --git a/src/main/twirl/gitbucket/core/issues/commentlist.scala.html b/src/main/twirl/gitbucket/core/issues/commentlist.scala.html index 84ffb7f..f6a7ec7 100644 --- a/src/main/twirl/gitbucket/core/issues/commentlist.scala.html +++ b/src/main/twirl/gitbucket/core/issues/commentlist.scala.html @@ -13,7 +13,7 @@ @user(issue.get.openedUserName, styleClass="username strong") commented @helper.html.datetimeago(issue.get.registeredDate) @if(hasWritePermission || loginAccount.map(_.userName == issue.get.openedUserName).getOrElse(false)){ - + }
@@ -41,8 +41,8 @@ @if(comment.action != "commit" && comment.action != "merge" && comment.action != "refer" && (hasWritePermission || loginAccount.map(_.userName == comment.commentedUserName).getOrElse(false))){ -   - +   + } @@ -78,8 +78,8 @@ } @if(comment.action == "close" || comment.action == "close_comment"){ -
- Closed +
+ @avatar(comment.commentedUserName, 20) @if(issue.isDefined && issue.get.isPullRequest){ @user(comment.commentedUserName, styleClass="username strong") closed the pull request @helper.html.datetimeago(comment.registeredDate) @@ -89,14 +89,14 @@
} @if(comment.action == "reopen" || comment.action == "reopen_comment"){ -
- Reopened +
+ @avatar(comment.commentedUserName, 20) @user(comment.commentedUserName, styleClass="username strong") reopened the issue @helper.html.datetimeago(comment.registeredDate)
} @if(comment.action == "delete_branch"){ -
+
Deleted @avatar(comment.commentedUserName, 20) @user(comment.commentedUserName, styleClass="username strong") deleted the @pullreq.map(_.requestBranch) branch @helper.html.datetimeago(comment.registeredDate) @@ -110,7 +110,7 @@