diff --git a/src/main/twirl/gitbucket/core/dashboard/header.scala.html b/src/main/twirl/gitbucket/core/dashboard/header.scala.html index 71db15a..175dc31 100644 --- a/src/main/twirl/gitbucket/core/dashboard/header.scala.html +++ b/src/main/twirl/gitbucket/core/dashboard/header.scala.html @@ -5,7 +5,7 @@ @import context._ @import gitbucket.core.view.helpers._
- @helper.html.dropdown("Visibility", flat = true){ + @helper.html.dropdown("Visibility"){
  • @helper.html.checkicon(condition.visibility == Some("private")) @@ -19,7 +19,7 @@
  • } - @helper.html.dropdown("Organization", flat = true){ + @helper.html.dropdown("Organization"){ @groups.map { group =>
  • @@ -29,7 +29,7 @@
  • } } - @helper.html.dropdown("Sort", flat = true){ + @helper.html.dropdown("Sort"){
  • @helper.html.checkicon(condition.sort == "created" && condition.direction == "desc") Newest diff --git a/src/main/twirl/gitbucket/core/helper/dropdown.scala.html b/src/main/twirl/gitbucket/core/helper/dropdown.scala.html index 4356ee2..55469af 100644 --- a/src/main/twirl/gitbucket/core/helper/dropdown.scala.html +++ b/src/main/twirl/gitbucket/core/helper/dropdown.scala.html @@ -1,12 +1,10 @@ @(value : String = "", prefix: String = "", style : String = "", - right : Boolean = false, - flat : Boolean = false)(body: Html) + right : Boolean = false)(body: Html)