Skip to content
Snippets Groups Projects
Commit 5dea8fb9 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Add mock-up for interface being used to move issue

parent 9882802a
No related branches found
No related tags found
1 merge request!2831Ability to move issue to another project
Loading
@@ -67,6 +67,14 @@
Loading
@@ -67,6 +67,14 @@
- if can? current_user, :admin_label, issuable.project - if can? current_user, :admin_label, issuable.project
= link_to 'Create new label', new_namespace_project_label_path(issuable.project.namespace, issuable.project), target: :blank = link_to 'Create new label', new_namespace_project_label_path(issuable.project.namespace, issuable.project), target: :blank
   
- if issuable.is_a?(Issue)
%hr
.form-group
= f.label :move_to_project_id, 'Move', class: 'control-label'
.col-sm-10
= project_select_tag("#{issuable.class.model_name.param_key}[move_to_project_id]",
placeholder: 'Select project', class: 'custom-form-control')
- if issuable.is_a?(MergeRequest) - if issuable.is_a?(MergeRequest)
%hr %hr
- if @merge_request.new_record? - if @merge_request.new_record?
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment