Commit 9943da1d authored by Yogi's avatar Yogi Committed by Savas Vedova

Move to btn-confirm from btn-success in groups/milestones directory

parent 37d862c3
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
.form-actions .form-actions
- if @milestone.new_record? - if @milestone.new_record?
= f.submit 'Create milestone', class: "btn-success gl-button btn", data: { qa_selector: "create_milestone_button" } = f.submit 'Create milestone', class: "btn-confirm gl-button btn", data: { qa_selector: "create_milestone_button" }
= link_to "Cancel", group_milestones_path(@group), class: "btn gl-button btn-cancel" = link_to "Cancel", group_milestones_path(@group), class: "btn gl-button btn-cancel"
- else - else
= f.submit 'Update milestone', class: "btn-success gl-button btn" = f.submit 'Update milestone', class: "btn-confirm gl-button btn"
= link_to "Cancel", group_milestone_path(@group, @milestone), class: "btn gl-button btn-cancel" = link_to "Cancel", group_milestone_path(@group, @milestone), class: "btn gl-button 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, @group) - if can?(current_user, :admin_milestone, @group)
= link_to _('New milestone'), new_group_milestone_path(@group), class: "btn gl-button btn-success", data: { qa_selector: "new_group_milestone_link" } = link_to _('New milestone'), new_group_milestone_path(@group), class: "btn gl-button btn-confirm", data: { qa_selector: "new_group_milestone_link" }
- if @milestones.blank? - if @milestones.blank?
= render 'shared/empty_states/milestones' = render 'shared/empty_states/milestones'
......
---
title: Move to btn-confirm from btn-success in groups/milestones directory
merge_request: 55278
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