- @if(isRepoTop){
- @repository.repository.description.map { description =>
-
@detectAndRenderLinks(description)
- }
-
- }
@body
diff --git a/src/main/twirl/gitbucket/core/repo/files.scala.html b/src/main/twirl/gitbucket/core/repo/files.scala.html
index 14c464d..065d10b 100644
--- a/src/main/twirl/gitbucket/core/repo/files.scala.html
+++ b/src/main/twirl/gitbucket/core/repo/files.scala.html
@@ -21,7 +21,7 @@
} else {
s"${(repository.name :: pathList).mkString("/")} at ${encodeRefName(branch)} - ${repository.owner}/${repository.name}"
}, Some(repository)) {
- @html.menu("code", repository, Some(branch), pathList.isEmpty, info, error){
+ @html.menu("code", repository, Some(branch), info, error){
@if(pathList.isEmpty){
diff --git a/src/main/twirl/gitbucket/core/repo/find.scala.html b/src/main/twirl/gitbucket/core/repo/find.scala.html
index d3840b6..f0fb1f0 100644
--- a/src/main/twirl/gitbucket/core/repo/find.scala.html
+++ b/src/main/twirl/gitbucket/core/repo/find.scala.html
@@ -5,7 +5,7 @@
@import context._
@import gitbucket.core.view.helpers._
@html.main(s"${repository.owner}/${repository.name}", Some(repository)) {
- @html.menu("code", repository, Some(branch), false){
+ @html.menu("code", repository, Some(branch)){
diff --git a/src/main/webapp/assets/common/css/gitbucket.css b/src/main/webapp/assets/common/css/gitbucket.css
index 81e97b1..6e30d58 100644
--- a/src/main/webapp/assets/common/css/gitbucket.css
+++ b/src/main/webapp/assets/common/css/gitbucket.css
@@ -37,29 +37,29 @@
}
.octicon,.mega-octicon{
- color : #999;
- width: 14px;
- height: 14px;
- /*font-size: 14px;*/
- text-align: center;
+ color : #999;
+ width: 14px;
+ height: 14px;
+ /*font-size: 14px;*/
+ text-align: center;
}
.mega-octicon{
- width: 32px;
- height: 32px;
+ width: 32px;
+ height: 32px;
}
.octicon.active,.mega-octicon.active{
- color : #333;
+ color : #333;
}
.octicon-cloud-download{
- color: #333;
- margin-right: 5px;
+ color: #333;
+ margin-right: 5px;
}
.head .octicon, .head .mega-octicon{
- color : #BBB;
+ color : #BBB;
}
.align-right {
@@ -141,6 +141,7 @@
margin-top: 1px;
}
+/*
div.input-group>span.fork>span.count {
background-color: white;
-webkit-border-radius: 0 4px 4px 0;
@@ -149,10 +150,10 @@
border: 1px solid #d8d8d8;
border-left: none;
font-size: 11px;
- /*height: 24px;*/
padding: 3px 6px;
display: table-cell;
}
+*/
a.global-header-menu {
color: black;
@@ -173,7 +174,7 @@
}
div.head div.forked {
- font-size: 60%;
+ font-size: 65%;
margin-left: 36px;
color: #999999;
}
@@ -187,13 +188,6 @@
padding-right: 10px;
}
-/*
-div.pagination {
- margin-top: 0px;
- margin-bottom: 0px;
-}
-*/
-
div.body {
margin-top: 20px;
margin-bottom: 40px;