summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@gitlab.com>2014-12-02 21:36:38 +0000
committerDmitriy Zaporozhets <dzaporozhets@gitlab.com>2014-12-02 21:36:38 +0000
commita70e7d61acfa6eb41acf049ece0ca39ac70de09a (patch)
tree90781f8dd20865d1105b27d3c472634c2172ee5e
parent300311f395a211bda043e4adbd36c297339af73e (diff)
parentc5bdc7e13ac4f953f83f226b0f2f5b45905d2bce (diff)
downloadgitlab-ce-a70e7d61acfa6eb41acf049ece0ca39ac70de09a.tar.gz
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
-rw-r--r--app/views/projects/_issuable_form.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/_issuable_form.html.haml b/app/views/projects/_issuable_form.html.haml
index 6cdfab933b4..dd40a719561 100644
--- a/app/views/projects/_issuable_form.html.haml
+++ b/app/views/projects/_issuable_form.html.haml
@@ -49,7 +49,7 @@
- else
%span.light No open milestones available.
&nbsp;
- = 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.
&nbsp;
- = 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?