diff --git a/src/main/twirl/gitbucket/core/settings/branches.scala.html b/src/main/twirl/gitbucket/core/settings/branches.scala.html index ba6e77d..6c6a244 100644 --- a/src/main/twirl/gitbucket/core/settings/branches.scala.html +++ b/src/main/twirl/gitbucket/core/settings/branches.scala.html @@ -7,63 +7,65 @@ @html.main("Branches", Some(repository)){ @html.menu("settings", repository){ @menu("branches", repository){ - @if(repository.branchList.isEmpty){ -
-
-

-

You don’t have any branches

-

Before you can edit branch settings, you need to add a branch.

-
-
- }else{ - @helper.html.information(info) -
-
Default branch
-
-

The default branch is considered the “base” branch in your repository, against which all pull requests and code commits are automatically made, unless you specify a different branch.

-
- - - -
+
+ @if(repository.branchList.isEmpty){ +
+
+

+

You don’t have any branches

+

Before you can edit branch settings, you need to add a branch.

+
-
- -
-
Protected branches
-
-

Protect branches to disable force pushing, prevent branches from being deleted, and optionally require status checks before merging. New to protected branches? -

- @repository.branchList.map { branch => - + } - +
-

- - - @protectedBranchList.map { branch => - - - - } -
- @branch - - Edit - -
+
-
- } +
+
Protected branches
+
+

Protect branches to disable force pushing, prevent branches from being deleted, and optionally require status checks before merging. New to protected branches? +

+ + +
+

+ + + @protectedBranchList.map { branch => + + + + } +
+ @branch + + Edit + +
+
+ +
+ } +
} } } \ No newline at end of file diff --git a/src/main/twirl/gitbucket/core/settings/branchprotection.scala.html b/src/main/twirl/gitbucket/core/settings/branchprotection.scala.html index 9fe6ee7..0833757 100644 --- a/src/main/twirl/gitbucket/core/settings/branchprotection.scala.html +++ b/src/main/twirl/gitbucket/core/settings/branchprotection.scala.html @@ -13,7 +13,7 @@ @helper.html.information(info)
-
+
Branch protection for @branch
@@ -24,7 +24,6 @@

Disables force-pushes to this branch and prevents it from being deleted.

-