diff --git a/src/main/twirl/gitbucket/core/issues/labels/label.scala.html b/src/main/twirl/gitbucket/core/issues/labels/label.scala.html
index 891f31a..791b5e8 100644
--- a/src/main/twirl/gitbucket/core/issues/labels/label.scala.html
+++ b/src/main/twirl/gitbucket/core/issues/labels/label.scala.html
@@ -6,8 +6,8 @@
@import gitbucket.core.view.helpers._
-
-
+
+
-
+
@counts.get(label.labelName).getOrElse(0) open issues
@if(hasWritePermission){
-
+
Edit
diff --git a/src/main/twirl/gitbucket/core/issues/labels/list.scala.html b/src/main/twirl/gitbucket/core/issues/labels/list.scala.html
index d82a00d..7331129 100644
--- a/src/main/twirl/gitbucket/core/issues/labels/list.scala.html
+++ b/src/main/twirl/gitbucket/core/issues/labels/list.scala.html
@@ -12,24 +12,28 @@
|
-
- @labels.map { label =>
- @gitbucket.core.issues.labels.html.label(label, counts, repository, hasWritePermission)
- }
- @if(labels.isEmpty){
-
-
- No labels to show.
- @if(hasWritePermission){
- Create a new label.
- }
- |
+
+
- }
+
+
+ @labels.map { label =>
+ @gitbucket.core.issues.labels.html.label(label, counts, repository, hasWritePermission)
+ }
+ @if(labels.isEmpty){
+
+
+ No labels to show.
+ @if(hasWritePermission){
+ Create a new label.
+ }
+ |
+
+ }
+
}
}
diff --git a/src/main/twirl/gitbucket/core/issues/listparts.scala.html b/src/main/twirl/gitbucket/core/issues/listparts.scala.html
index 6d60c31..064921d 100644
--- a/src/main/twirl/gitbucket/core/issues/listparts.scala.html
+++ b/src/main/twirl/gitbucket/core/issues/listparts.scala.html
@@ -173,7 +173,7 @@
}
@issues.map { case IssueInfo(issue, labels, milestone, commentCount, commitStatus) =>
-
+ |
@if(hasWritePermission){
}
@@ -204,7 +204,7 @@
}
-
+
#@issue.issueId opened @helper.html.datetimeago(issue.registeredDate) by @user(issue.openedUserName, styleClass="username")
@milestone.map { milestone =>
@milestone
diff --git a/src/main/twirl/gitbucket/core/pulls/commits.scala.html b/src/main/twirl/gitbucket/core/pulls/commits.scala.html
index 8a9a4cc..72ecc9b 100644
--- a/src/main/twirl/gitbucket/core/pulls/commits.scala.html
+++ b/src/main/twirl/gitbucket/core/pulls/commits.scala.html
@@ -9,37 +9,37 @@
Commits on @date(day.head.commitTime)
-
- @day.map { commit =>
-
-
-
- @avatar(commit, 40)
-
- @link(commit.summary, repository)
- @if(commit.description.isDefined){
- ...
- }
-
- @if(commit.description.isDefined){
- @link(commit.description.get, repository)
- }
-
- @user(commit.authorName, commit.authorEmailAddress, "username")
- authored @helper.html.datetimeago(commit.authorTime)
- @if(commit.isDifferentFromAuthor) {
-
- @user(commit.committerName, commit.committerEmailAddress, "username")
- committed @helper.html.datetimeago(commit.authorTime)
+
+ @day.map { commit =>
+
+
+
+ @avatar(commit, 40)
+
+ @link(commit.summary, repository)
+ @if(commit.description.isDefined){
+ ...
}
+
+ @if(commit.description.isDefined){
+ @link(commit.description.get, repository)
+ }
+
+ @user(commit.authorName, commit.authorEmailAddress, "username")
+ authored @helper.html.datetimeago(commit.authorTime)
+ @if(commit.isDifferentFromAuthor) {
+
+ @user(commit.committerName, commit.committerEmailAddress, "username")
+ committed @helper.html.datetimeago(commit.authorTime)
+ }
+
-
- }
+ }
}
diff --git a/src/main/twirl/gitbucket/core/pulls/mergeguide.scala.html b/src/main/twirl/gitbucket/core/pulls/mergeguide.scala.html
index ae9e417..b23a8bb 100644
--- a/src/main/twirl/gitbucket/core/pulls/mergeguide.scala.html
+++ b/src/main/twirl/gitbucket/core/pulls/mergeguide.scala.html
@@ -48,7 +48,7 @@
}
-
+
@if(hasConflict){
diff --git a/src/main/twirl/gitbucket/core/repo/blob.scala.html b/src/main/twirl/gitbucket/core/repo/blob.scala.html
index fad8948..4dc3d4c 100644
--- a/src/main/twirl/gitbucket/core/repo/blob.scala.html
+++ b/src/main/twirl/gitbucket/core/repo/blob.scala.html
@@ -54,15 +54,15 @@
@link(latestCommit.summary, repository)
@if(hasWritePermission && content.viewType == "text" && repository.branchList.contains(branch)){
- Edit
+ Edit
}
- Raw
+ Raw
@if(content.viewType == "text"){
- Blame
+ Blame
}
- History
+ History
@if(hasWritePermission && repository.branchList.contains(branch)){
- Delete
+ Delete
}
diff --git a/src/main/twirl/gitbucket/core/repo/branches.scala.html b/src/main/twirl/gitbucket/core/repo/branches.scala.html
index 6a702b3..a726088 100644
--- a/src/main/twirl/gitbucket/core/repo/branches.scala.html
+++ b/src/main/twirl/gitbucket/core/repo/branches.scala.html
@@ -16,43 +16,43 @@
@branchInfo.map { case (branch, prs) =>
- @branch.mergeInfo.map{ info =>
- @prs.map{ case (pull, issue) =>
- #@issue.issueId
- @if(issue.closed) {
- @if(info.isMerged){
- Merged
- }else{
- Closed
- }
- } else {
- Open
+ @branch.mergeInfo.map{ info =>
+ @prs.map{ case (pull, issue) =>
+ #@issue.issueId
+ @if(issue.closed) {
+ @if(info.isMerged){
+ Merged
+ }else{
+ Closed
}
- }.getOrElse{
- @if(context.loginAccount.isDefined){
- New Pull Request
- } else {
- Compare
- }
+ } else {
+ Open
}
- @if(hasWritePermission){
-
- @if(prs.map(!_._2.closed).getOrElse(false)){
-
- } else {
-
- }
-
+ }.getOrElse{
+ @if(context.loginAccount.isDefined){
+ New Pull Request
+ } else {
+ Compare
}
}
+ @if(hasWritePermission){
+
+ @if(prs.map(!_._2.closed).getOrElse(false)){
+
+ } else {
+
+ }
+
+ }
+ }
@branch.name
diff --git a/src/main/twirl/gitbucket/core/repo/commits.scala.html b/src/main/twirl/gitbucket/core/repo/commits.scala.html
index 9d70ec8..66e7ba9 100644
--- a/src/main/twirl/gitbucket/core/repo/commits.scala.html
+++ b/src/main/twirl/gitbucket/core/repo/commits.scala.html
@@ -38,12 +38,12 @@
Commits on @date(day.head.commitTime)
-
+
@day.map { commit =>
-
+
@avatar(commit, 40)
diff --git a/src/main/twirl/gitbucket/core/wiki/history.scala.html b/src/main/twirl/gitbucket/core/wiki/history.scala.html
index 681cf50..ca6a811 100644
--- a/src/main/twirl/gitbucket/core/wiki/history.scala.html
+++ b/src/main/twirl/gitbucket/core/wiki/history.scala.html
@@ -31,14 +31,17 @@
| | |