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
This commit is contained in:
Dmitriy Zaporozhets 2014-12-02 21:36:38 +00:00
commit a70e7d61ac

View file

@ -49,7 +49,7 @@
- else
%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
= f.label :label_ids, class: 'control-label' do
%i.icon-tag
@ -61,7 +61,7 @@
- else
%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
- if issuable.new_record?