diff --git a/src/main/twirl/gitbucket/core/pulls/mergeguide.scala.html b/src/main/twirl/gitbucket/core/pulls/mergeguide.scala.html
index 9ee0a11..933aa52 100644
--- a/src/main/twirl/gitbucket/core/pulls/mergeguide.scala.html
+++ b/src/main/twirl/gitbucket/core/pulls/mergeguide.scala.html
@@ -19,19 +19,19 @@
— @summary checks
}
-
- @status.statusesAndRequired.map{ case (status, required) =>
+
+ @status.statusesAndRequired.map { case (status, required) =>
@if(required){
Required }
- @status.targetUrl.map{ url =>
Details }
+ @status.targetUrl.map { url =>
Details }
@commitStateIcon(status.state)
@status.context
- @status.description.map{ desc =>
— @desc }
+ @status.description.map { desc =>
— @desc }
- }
-
+ }
+
}
@if(status.hasConflict){
@@ -44,40 +44,44 @@
Only those with write access to this repository can merge pull requests.
}
- } else { @if(status.branchIsOutOfDate){
- @if(status.hasUpdatePermission){
-
-
-
- }
+ } else {
+ @if(status.branchIsOutOfDate){
+ @if(status.hasUpdatePermission){
+
+
+
+ }
This branch is out-of-date with the base branch
Merge the latest changes from @pullreq.branch
into this branch.
- } else { @if(status.hasRequiredStatusProblem) {
-
- Required statuses must pass before merging.
-
- All required status checks on this pull request must run successfully to enable automatic merging.
-
} else {
-
- @if(status.hasMergePermission){
- Merging can be performed automatically.
+ @if(status.hasRequiredStatusProblem) {
+
+ Required statuses must pass before merging.
- Merging can be performed automatically.
+ All required status checks on this pull request must run successfully to enable automatic merging.
} else {
- This branch has no conflicts with the base branch.
-
- Only those with write access to this repository can merge pull requests.
-
+
+ @if(status.hasMergePermission){
+ Merging can be performed automatically.
+
+ Merging can be performed automatically.
+
+ } else {
+ This branch has no conflicts with the base branch.
+
+ Only those with write access to this repository can merge pull requests.
+
+ }
}
- } } }
+ }
+ }
@if(status.hasMergePermission){