diff --git a/src/main/twirl/issues/issue.scala.html b/src/main/twirl/issues/issue.scala.html index e5551d2..690e27d 100644 --- a/src/main/twirl/issues/issue.scala.html +++ b/src/main/twirl/issues/issue.scala.html @@ -68,8 +68,9 @@ @comments.map { comment => -
+
+ @comment.commentedUserName commented @datetime(comment.registeredDate) @@ -83,13 +84,13 @@
@comment.action.map { action => -
+
@if(action == "close"){ Closed - @comment.commentedUserName closed the issue @datetime(comment.registeredDate) + @comment.commentedUserName closed the issue @datetime(comment.registeredDate) } else { Reopened - @comment.commentedUserName reopened the issue @datetime(comment.registeredDate) + @comment.commentedUserName reopened the issue @datetime(comment.registeredDate) }
} @@ -109,21 +110,23 @@
@if(issue.closed) { - Closed + Closed } else { - Open + Open } -
@comments.size comments
+
+ @if(comments.size == 1){ + 1 comment + } else { + @comments.size comments + } +

+
Labels @if(hasWritePermission){
-
- - -
+ }
} +
    @labellist(issueLabels)
diff --git a/src/main/twirl/issues/labellist.scala.html b/src/main/twirl/issues/labellist.scala.html index ddf1d9f..204df29 100644 --- a/src/main/twirl/issues/labellist.scala.html +++ b/src/main/twirl/issues/labellist.scala.html @@ -1,4 +1,4 @@ @(issueLabels: List[model.Label]) @issueLabels.map { label => -
  • @label.labelName
  • +
  • @label.labelName
  • } diff --git a/src/main/webapp/assets/common/css/gitbucket.css b/src/main/webapp/assets/common/css/gitbucket.css index 12c3f2e..5f0ad4b 100644 --- a/src/main/webapp/assets/common/css/gitbucket.css +++ b/src/main/webapp/assets/common/css/gitbucket.css @@ -107,7 +107,7 @@ div.box { background-color: #efefef; padding: 2px; - margin-bottom: 20px; + margin-bottom: 10px; } div.box-header { @@ -313,6 +313,13 @@ /****************************************************************************/ /* Issues */ /****************************************************************************/ +span.issue-status { + display: block; + font-size: large; + text-align: center; + padding: 8px; +} + table.table-issues { margin-top: 12px; } @@ -430,6 +437,18 @@ padding: 0px; } +div.issue-comment-box { + margin-bottom: 15px; + margin-top: 25px; +} + +div.issue-comment-action { + padding-bottom: 10px; + padding-top: 0px; + margin-bottom: 10px; + border-bottom: 4px solid #ddd; +} + /****************************************************************************/ /* Wiki */ /****************************************************************************/