diff --git a/src/main/twirl/gitbucket/core/dashboard/header.scala.html b/src/main/twirl/gitbucket/core/dashboard/header.scala.html index bc174bc..1568f63 100644 --- a/src/main/twirl/gitbucket/core/dashboard/header.scala.html +++ b/src/main/twirl/gitbucket/core/dashboard/header.scala.html @@ -18,7 +18,7 @@ } - @gitbucket.core.helper.html.dropdown("Organization"){ + @gitbucket.core.helper.html.dropdown("Organization", filter = ("organization", "Find Organization...")){ @groups.map { group =>
  • @@ -60,4 +60,4 @@
  • } - \ No newline at end of file + diff --git a/src/main/twirl/gitbucket/core/issues/listparts.scala.html b/src/main/twirl/gitbucket/core/issues/listparts.scala.html index fb0ec7e..034aa84 100644 --- a/src/main/twirl/gitbucket/core/issues/listparts.scala.html +++ b/src/main/twirl/gitbucket/core/issues/listparts.scala.html @@ -27,7 +27,7 @@ - @gitbucket.core.helper.html.dropdown("Author") { + @gitbucket.core.helper.html.dropdown("Author", filter = ("author", "Find Author...")) { @collaborators.map { collaborator =>
  • @@ -37,7 +37,7 @@
  • } } - @gitbucket.core.helper.html.dropdown("Label") { + @gitbucket.core.helper.html.dropdown("Label", filter = ("label", "Find Label...")) { @labels.map { label =>
  • @@ -48,7 +48,7 @@
  • } } - @gitbucket.core.helper.html.dropdown("Milestone") { + @gitbucket.core.helper.html.dropdown("Milestone", filter = ("milestone", "Find Milestone...")) {
  • @gitbucket.core.helper.html.checkicon(condition.milestone == Some(None)) Issues with no milestone @@ -62,7 +62,7 @@
  • } } - @gitbucket.core.helper.html.dropdown("Assignee") { + @gitbucket.core.helper.html.dropdown("Assignee", filter = ("assignee", "Find Assignee...")) {
  • @gitbucket.core.helper.html.checkicon(condition.assigned == Some(None)) Assigned to nobody @@ -116,7 +116,7 @@
  • Open
  • Close
  • } - @gitbucket.core.helper.html.dropdown("Label") { + @gitbucket.core.helper.html.dropdown("Label", filter = ("label", "Find Label...")) { @labels.map { label =>
  • @@ -127,13 +127,13 @@
  • } } - @gitbucket.core.helper.html.dropdown("Milestone") { + @gitbucket.core.helper.html.dropdown("Milestone", filter = ("milestone", "Find Milestone...")) {
  • No milestone
  • @milestones.filter(_.closedDate.isEmpty).map { milestone =>
  • @milestone.title
  • } } - @gitbucket.core.helper.html.dropdown("Assignee") { + @gitbucket.core.helper.html.dropdown("Assignee", filter = ("assignee", "Find Assignee...")) {
  • Clear assignee
  • @collaborators.map { collaborator =>
  • @helpers.avatar(collaborator, 20) @collaborator
  • diff --git a/src/main/twirl/gitbucket/core/pulls/compare.scala.html b/src/main/twirl/gitbucket/core/pulls/compare.scala.html index 17a399a..714f324 100644 --- a/src/main/twirl/gitbucket/core/pulls/compare.scala.html +++ b/src/main/twirl/gitbucket/core/pulls/compare.scala.html @@ -20,23 +20,23 @@ @gitbucket.core.html.menu("pulls", repository){
    - @gitbucket.core.helper.html.dropdown(originRepository.owner + "/" + originRepository.name, "base fork") { + @gitbucket.core.helper.html.dropdown(originRepository.owner + "/" + originRepository.name, "base fork", filter=("origin_repo", "Find Repository...")) { @members.map { case (owner, name) =>
  • @gitbucket.core.helper.html.checkicon(owner == originRepository.owner) @owner/@name
  • } } - @gitbucket.core.helper.html.dropdown(originId, "base") { + @gitbucket.core.helper.html.dropdown(originId, "base", filter=("origin_branch", "Find Branch...")) { @originRepository.branchList.map { branch =>
  • @gitbucket.core.helper.html.checkicon(branch == originId) @branch
  • } } ... - @gitbucket.core.helper.html.dropdown(forkedRepository.owner + "/" + forkedRepository.name, "head fork") { + @gitbucket.core.helper.html.dropdown(forkedRepository.owner + "/" + forkedRepository.name, "head fork", filter=("forked_repo", "Find Repository...")) { @members.map { case (owner, name) =>
  • @gitbucket.core.helper.html.checkicon(owner == forkedRepository.owner) @owner/@name
  • } } - @gitbucket.core.helper.html.dropdown(forkedId, "compare") { + @gitbucket.core.helper.html.dropdown(forkedId, "compare", filter=("forked_branch", "Find Branch...")) { @forkedRepository.branchList.map { branch =>
  • @gitbucket.core.helper.html.checkicon(branch == forkedId) @branch
  • } @@ -221,27 +221,3 @@ } }); - -