Commit 317c80a7 authored by Savas Vedova's avatar Savas Vedova

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

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

See merge request gitlab-org/gitlab!55278
parents 84dbb8c2 9943da1d
......@@ -19,8 +19,8 @@
.form-actions
- 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"
- 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"
......@@ -8,7 +8,7 @@
= render 'shared/milestones/search_form'
= render 'shared/milestones_sort_dropdown'
- 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?
= 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