diff options
author | Kushal Pandya <kushalspandya@gmail.com> | 2019-08-29 07:01:24 +0000 |
---|---|---|
committer | Kushal Pandya <kushalspandya@gmail.com> | 2019-08-29 07:01:24 +0000 |
commit | dc3adc3a2a2b987f7fe012d814c10bc1e292d274 (patch) | |
tree | 8724f2867fea5d5bf86130c4289f40fa463bff14 | |
parent | 48bd127593ad27528fc3247b3e4a29e0b21dc8c1 (diff) | |
parent | e301dfced6b91c4f81374fdd4d489f82b719ddc1 (diff) | |
download | gitlab-ce-dc3adc3a2a2b987f7fe012d814c10bc1e292d274.tar.gz |
Merge branch 'new-project-milestone-primary-button' into 'master'
New project milestone primary button
See merge request gitlab-org/gitlab-ce!32355
-rw-r--r-- | app/views/projects/milestones/_form.html.haml | 2 | ||||
-rw-r--r-- | changelogs/unreleased/new-project-milestone-primary-button.yml | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/app/views/projects/milestones/_form.html.haml b/app/views/projects/milestones/_form.html.haml index 5cc6b5a173b..e1797e6db2a 100644 --- a/app/views/projects/milestones/_form.html.haml +++ b/app/views/projects/milestones/_form.html.haml @@ -21,7 +21,7 @@ .form-actions - if @milestone.new_record? - = f.submit _('Create milestone'), class: 'btn-create btn qa-milestone-create-button' + = f.submit _('Create milestone'), class: 'btn-success btn qa-milestone-create-button' = link_to _('Cancel'), project_milestones_path(@project), class: 'btn btn-cancel' - else = f.submit _('Save changes'), class: 'btn-success btn' diff --git a/changelogs/unreleased/new-project-milestone-primary-button.yml b/changelogs/unreleased/new-project-milestone-primary-button.yml new file mode 100644 index 00000000000..ac0305a2e21 --- /dev/null +++ b/changelogs/unreleased/new-project-milestone-primary-button.yml @@ -0,0 +1,5 @@ +--- +title: New project milestone primary button +merge_request: 32355 +author: Lee Tickett +type: fixed |