Commit 9b633640 authored by David O'Regan's avatar David O'Regan

Merge branch 'btn-confirm-project-milestones' into 'master'

Move from btn-success to btn-confirm milestones directory

See merge request gitlab-org/gitlab!56342
parents be7b38c4 e5d6b8d9
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
.form-actions .form-actions
- if @milestone.new_record? - if @milestone.new_record?
= f.submit _('Create milestone'), class: 'gl-button btn-success btn', data: { qa_selector: 'create_milestone_button' } = f.submit _('Create milestone'), class: 'gl-button btn-confirm btn', data: { qa_selector: 'create_milestone_button' }
= link_to _('Cancel'), project_milestones_path(@project), class: 'gl-button btn btn-cancel' = link_to _('Cancel'), project_milestones_path(@project), class: 'gl-button btn btn-default btn-cancel'
- else - else
= f.submit _('Save changes'), class: 'gl-button btn-success btn' = f.submit _('Save changes'), class: 'gl-button btn-confirm btn'
= link_to _('Cancel'), project_milestone_path(@project, @milestone), class: 'gl-button btn btn-cancel' = link_to _('Cancel'), project_milestone_path(@project, @milestone), class: 'gl-button btn btn-default btn-cancel'
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
= render 'shared/milestones/search_form' = render 'shared/milestones/search_form'
= render 'shared/milestones_sort_dropdown' = render 'shared/milestones_sort_dropdown'
- if can?(current_user, :admin_milestone, @project) - if can?(current_user, :admin_milestone, @project)
= link_to new_project_milestone_path(@project), class: 'gl-button btn btn-success', data: { qa_selector: "new_project_milestone_link" }, title: _('New milestone') do = link_to new_project_milestone_path(@project), class: 'gl-button btn btn-confirm', data: { qa_selector: "new_project_milestone_link" }, title: _('New milestone') do
= _('New milestone') = _('New milestone')
- if @milestones.blank? - if @milestones.blank?
......
---
title: Move from btn-success to btn-confirm in milestones directory
merge_request: 56342
author: Yogi (@yo)
type: changed
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