summaryrefslogtreecommitdiff
path: root/app/views/search/_filter.html.haml
diff options
context:
space:
mode:
authorAndrew Fontaine <afontaine@gitlab.com>2019-07-16 13:48:28 -0400
committerAndrew Fontaine <afontaine@gitlab.com>2019-07-16 16:07:41 -0400
commiteacef3fb07252ce4741a81376a350919def6bdd4 (patch)
tree66776871a489a42a948065d0644a8c8372c3853c /app/views/search/_filter.html.haml
parentfb754a86b214ce6742a14d51fd06b5f1fa2ffa5f (diff)
downloadgitlab-ce-eacef3fb07252ce4741a81376a350919def6bdd4.tar.gz
Style Dropdown Buttons with New Button Stylesstyle-dropdown-buttons
These dropdown buttons were missing the `btn` class, and were missing the new button styles.
Diffstat (limited to 'app/views/search/_filter.html.haml')
-rw-r--r--app/views/search/_filter.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/search/_filter.html.haml b/app/views/search/_filter.html.haml
index c8b6a3258ab..f5613f8ac8f 100644
--- a/app/views/search/_filter.html.haml
+++ b/app/views/search/_filter.html.haml
@@ -3,7 +3,7 @@
- if params[:project_id].present?
= hidden_field_tag :project_id, params[:project_id]
.dropdown
- %button.dropdown-menu-toggle.js-search-group-dropdown{ type: "button", data: { toggle: "dropdown", default_label: _('Group:'), group_id: params[:group_id] } }
+ %button.btn.btn-default.dropdown-menu-toggle.js-search-group-dropdown{ type: "button", data: { toggle: "dropdown", default_label: _('Group:'), group_id: params[:group_id] } }
%span.dropdown-toggle-text
= _("Group:")
- if @group.present?
@@ -18,7 +18,7 @@
= dropdown_loading
.dropdown.project-filter
- %button.dropdown-menu-toggle.js-search-project-dropdown{ type: "button", data: { toggle: "dropdown", default_label: _('Project:') } }
+ %button.btn.btn-default.dropdown-menu-toggle.js-search-project-dropdown{ type: "button", data: { toggle: "dropdown", default_label: _('Project:') } }
%span.dropdown-toggle-text
= _("Project:")
- if @project.present?