Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-06-08 13:38:19 +0300
committerPhil Hughes <me@iamphill.com>2016-06-18 23:49:20 +0300
commitd2362e2edf2b23318c6913535fe0ec3ea122d57e (patch)
treeb5a2b7654a0639c6daaecc55b946b72f75afc8f3 /app/views/shared/_ref_switcher.html.haml
parentdeca5ef200a0b6d5d965214ad71d13e359b03e77 (diff)
Tests fix for ref switcher
Diffstat (limited to 'app/views/shared/_ref_switcher.html.haml')
-rw-r--r--app/views/shared/_ref_switcher.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/shared/_ref_switcher.html.haml b/app/views/shared/_ref_switcher.html.haml
index a84e53ea642..b474ed00777 100644
--- a/app/views/shared/_ref_switcher.html.haml
+++ b/app/views/shared/_ref_switcher.html.haml
@@ -6,9 +6,8 @@
= hidden_field_tag key, value, id: nil
.dropdown
= dropdown_toggle @ref || @project.default_branch, { toggle: "dropdown", selected: @ref || @project.default_branch, refs_url: refs_namespace_project_path(@project.namespace, @project) }, { toggle_class: "js-project-refs-dropdown" }
- .dropdown-menu.dropdown-menu-selectable
+ .dropdown-menu.dropdown-menu-selectable{ class: ("dropdown-menu-align-right" if local_assigns[:align_right]) }
= dropdown_title "Switch branch/tag"
= dropdown_filter "Search branches and tags"
= dropdown_content
= dropdown_loading
- -# = select_tag "ref", grouped_options_refs, class: "project-refs-select select2 select2-sm"