Commit a70e7d61 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'improve-form-links-ux' into 'master'

Improve issuable form links UX

> The create new label / milestone links should open in a new window / popup to avoid losing information already filled in for a new issue.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/855

See merge request !1291
parents 300311f3 c5bdc7e1
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
- else - else
%span.light No open milestones available. %span.light No open milestones available.
   
= link_to 'Create new milestone', new_project_milestone_path(issuable.project) = link_to 'Create new milestone', new_project_milestone_path(issuable.project), target: :blank
.form-group .form-group
= f.label :label_ids, class: 'control-label' do = f.label :label_ids, class: 'control-label' do
%i.icon-tag %i.icon-tag
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
- else - else
%span.light No labels yet. %span.light No labels yet.
   
= link_to 'Create new label', new_project_label_path(issuable.project) = link_to 'Create new label', new_project_label_path(issuable.project), target: :blank
.form-actions .form-actions
- if issuable.new_record? - if issuable.new_record?
......
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