Commit bf7189ff authored by Phil Hughes's avatar Phil Hughes
Browse files

Merge branch '35181-cannot-create-label-from-board-page' into 'master'

Fix label creation from new list for subgroup projects

Closes #35181

See merge request !12906
parents 134bf7fe fbba587f
......@@ -98,7 +98,7 @@
- if type == :boards
- if can?(current_user, :admin_list, @project)
.dropdown.prepend-left-10#js-add-list
%button.btn.btn-create.btn-inverted.js-new-board-list{ type: "button", data: { toggle: "dropdown", labels: labels_filter_path, namespace_path: @project.try(:namespace).try(:path), project_path: @project.try(:path) } }
%button.btn.btn-create.btn-inverted.js-new-board-list{ type: "button", data: { toggle: "dropdown", labels: labels_filter_path, namespace_path: @project.try(:namespace).try(:full_path), project_path: @project.try(:path) } }
Add list
.dropdown-menu.dropdown-menu-paging.dropdown-menu-align-right.dropdown-menu-issues-board-new.dropdown-menu-selectable
= render partial: "shared/issuable/label_page_default", locals: { show_footer: true, show_create: true, show_boards_content: true, title: "Add list" }
......
---
title: Fix label creation from new list for subgroup projects
merge_request:
author:
......@@ -3,7 +3,8 @@
describe 'Issue Boards', feature: true, js: true do
include DragTo
let(:project) { create(:empty_project, :public) }
let(:group) { create(:group, :nested) }
let(:project) { create(:empty_project, :public, namespace: group) }
let(:board) { create(:board, project: project) }
let(:user) { create(:user) }
let!(:user2) { create(:user) }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment