summaryrefslogtreecommitdiff
path: root/app/views/shared/issuable/_milestone_dropdown.html.haml
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-29 15:26:12 +0100
committerPhil Hughes <me@iamphill.com>2016-03-29 15:26:12 +0100
commit31fea92295302d93973f0836eb4d040550b2deda (patch)
tree23071b152f379749f07db77751dda2ed1a7aeb36 /app/views/shared/issuable/_milestone_dropdown.html.haml
parentb5ece0886a421247ed572e19ac3ccbcb685883b8 (diff)
downloadgitlab-ce-31fea92295302d93973f0836eb4d040550b2deda.tar.gz
Updated based on Ruby feedback
Diffstat (limited to 'app/views/shared/issuable/_milestone_dropdown.html.haml')
-rw-r--r--app/views/shared/issuable/_milestone_dropdown.html.haml2
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 cfa45d22b3e..e52d2e39e6b 100644
--- a/app/views/shared/issuable/_milestone_dropdown.html.haml
+++ b/app/views/shared/issuable/_milestone_dropdown.html.haml
@@ -1,6 +1,6 @@
- if params[:milestone_title]
= hidden_field_tag(:milestone_title, params[:milestone_title])
-= dropdown_tag(milestone_dropdown_label(params[:milestone_title], "Milestone"), options: { title: "Filter by milestone", toggle_class: 'js-milestone-select js-filter-submit', filter: true, dropdown_class: "dropdown-menu-selectable",
+= dropdown_tag(milestone_dropdown_label(params[:milestone_title]), options: { title: "Filter by milestone", toggle_class: 'js-milestone-select js-filter-submit', filter: true, dropdown_class: "dropdown-menu-selectable",
placeholder: "Search milestones", footer_content: @project.present?, data: { show_no: true, show_any: true, show_upcoming: true, field_name: "milestone_title", selected: params[:milestone_title], project_id: @project.try(:id), milestones: milestones_filter_dropdown_path, default_label: "Milestone" } }) do
- if @project
%ul.dropdown-footer-list