diff options
author | Dan Davison <ddavison@gitlab.com> | 2018-07-11 14:59:00 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-07-11 14:59:00 +0000 |
commit | f72adcc9819d49d438b3f4fb34c806eebe948ae2 (patch) | |
tree | 4f523c30f171e3752cddbbe5af9aae11f53fd9f4 /app/views/shared/issuable/_milestone_dropdown.html.haml | |
parent | 51da26fd550977ac92ef62c4444872e0a2e40a2c (diff) | |
download | gitlab-ce-f72adcc9819d49d438b3f4fb34c806eebe948ae2.tar.gz |
Milestone tests
Diffstat (limited to 'app/views/shared/issuable/_milestone_dropdown.html.haml')
-rw-r--r-- | app/views/shared/issuable/_milestone_dropdown.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_milestone_dropdown.html.haml b/app/views/shared/issuable/_milestone_dropdown.html.haml index 37625a4a163..c2da363b8c6 100644 --- a/app/views/shared/issuable/_milestone_dropdown.html.haml +++ b/app/views/shared/issuable/_milestone_dropdown.html.haml @@ -7,7 +7,7 @@ - dropdown_title = local_assigns.fetch(:dropdown_title, "Filter by milestone") - if selected.present? || params[:milestone_title].present? = hidden_field_tag(name, name == :milestone_title ? selected_text : selected.id) -= dropdown_tag(milestone_dropdown_label(selected_text), options: { title: dropdown_title, toggle_class: "js-milestone-select js-filter-submit #{extra_class}", filter: true, dropdown_class: "dropdown-menu-selectable dropdown-menu-milestone", += dropdown_tag(milestone_dropdown_label(selected_text), options: { title: dropdown_title, toggle_class: "qa-issuable-milestone-dropdown js-milestone-select js-filter-submit #{extra_class}", filter: true, dropdown_class: "qa-issuable-dropdown-menu-milestone dropdown-menu-selectable dropdown-menu-milestone", placeholder: "Search milestones", footer_content: project.present?, data: { show_no: true, show_menu_above: show_menu_above, show_any: show_any, show_upcoming: show_upcoming, show_started: show_started, field_name: name, selected: selected_text, project_id: project.try(:id), milestones: milestones_filter_dropdown_path, default_label: "Milestone" } }) do - if project %ul.dropdown-footer-list |