diff options
author | Phil Hughes <me@iamphill.com> | 2017-05-10 17:15:19 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-05-10 17:15:19 +0000 |
commit | 09c4d27ae48ceb181f86657043af2a129c17dabf (patch) | |
tree | 1766eee1b65d69e27ae8e43342047f20d0c67957 /app/views/projects/boards/components/sidebar/_milestone.html.haml | |
parent | 05a2ef690b11467241e16b380a50384cf541ad0e (diff) | |
parent | f328f38e5b1f013c3b21f6f572cc22c71aad8fa3 (diff) | |
download | gitlab-ce-09c4d27ae48ceb181f86657043af2a129c17dabf.tar.gz |
Merge branch '31474-issue-boards-sidebar-milestone-dropdown-should-not-be-multi-select' into 'master'
Resolve "Issue boards sidebar milestone dropdown should not be multi select"
Closes #31474
See merge request !11084
Diffstat (limited to 'app/views/projects/boards/components/sidebar/_milestone.html.haml')
-rw-r--r-- | app/views/projects/boards/components/sidebar/_milestone.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/boards/components/sidebar/_milestone.html.haml b/app/views/projects/boards/components/sidebar/_milestone.html.haml index 190e7290303..4e46351bf8a 100644 --- a/app/views/projects/boards/components/sidebar/_milestone.html.haml +++ b/app/views/projects/boards/components/sidebar/_milestone.html.haml @@ -16,7 +16,8 @@ name: "issue[milestone_id]", "v-if" => "issue.milestone" } .dropdown - %button.dropdown-menu-toggle.js-milestone-select.js-issue-board-sidebar{ type: "button", data: { toggle: "dropdown", show_no: "true", field_name: "issue[milestone_id]", project_id: @project.id, milestones: namespace_project_milestones_path(@project.namespace, @project, :json), ability_name: "issue", use_id: "true" }, + %button.dropdown-menu-toggle.js-milestone-select.js-issue-board-sidebar{ type: "button", data: { toggle: "dropdown", show_no: "true", field_name: "issue[milestone_id]", project_id: @project.id, milestones: namespace_project_milestones_path(@project.namespace, @project, :json), ability_name: "issue", use_id: "true", default_no: "true" }, + ":data-selected" => "milestoneTitle", ":data-issuable-id" => "issue.id", ":data-issue-update" => "'#{namespace_project_issues_path(@project.namespace, @project)}/' + issue.id + '.json'" } Milestone |