diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2017-05-04 13:36:18 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-05-04 13:36:18 -0500 |
commit | dbb50ed890e9a81dbba288fac033dec7f0b3efeb (patch) | |
tree | 4f4857d33f73c4f2858bab5fd676d011fa6def71 /app/views/projects/boards | |
parent | fc464f1ff27734df81f7f85cbc23e93902c97cda (diff) | |
download | gitlab-ce-dbb50ed890e9a81dbba288fac033dec7f0b3efeb.tar.gz |
Restrict FE assignees to 1
Diffstat (limited to 'app/views/projects/boards')
-rw-r--r-- | app/views/projects/boards/components/sidebar/_assignee.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/boards/components/sidebar/_assignee.html.haml b/app/views/projects/boards/components/sidebar/_assignee.html.haml index 0c09e71feee..642da679f97 100644 --- a/app/views/projects/boards/components/sidebar/_assignee.html.haml +++ b/app/views/projects/boards/components/sidebar/_assignee.html.haml @@ -16,11 +16,11 @@ "v-if" => "issue.assignees", "v-for" => "assignee in issue.assignees" } .dropdown - %button.dropdown-menu-toggle.js-user-search.js-author-search.js-multiselect.js-save-user-data.js-issue-board-sidebar{ type: "button", ref: "assigneeDropdown", data: { toggle: "dropdown", field_name: "issue[assignee_ids][]", first_user: (current_user.username if current_user), current_user: "true", project_id: @project.id, null_user: "true", multi_select: "true", dropdown: { header: 'Assignee(s)'} }, + %button.dropdown-menu-toggle.js-user-search.js-author-search.js-multiselect.js-save-user-data.js-issue-board-sidebar{ type: "button", ref: "assigneeDropdown", data: { toggle: "dropdown", field_name: "issue[assignee_ids][]", first_user: (current_user.username if current_user), current_user: "true", project_id: @project.id, null_user: "true", multi_select: "true", 'max-select' => 1, dropdown: { header: 'Assignee' } }, ":data-issuable-id" => "issue.id", ":data-selected" => "assigneeId", ":data-issue-update" => "'#{namespace_project_issues_path(@project.namespace, @project)}/' + issue.id + '.json'" } - Select assignee(s) + Select assignee = icon("chevron-down") .dropdown-menu.dropdown-select.dropdown-menu-user.dropdown-menu-selectable.dropdown-menu-author = dropdown_title("Assign to") |