Commit 1bf772da authored by Justin Ho's avatar Justin Ho Committed by David O'Regan

Update button variants to confirm on MR page

Also update badge variant and add some spacing
parent 8ed012d0
......@@ -12,7 +12,7 @@ export default {
};
</script>
<template>
<gl-badge size="sm" variant="success">
<gl-badge size="sm" variant="info" class="gl-ml-2">
{{ draftsCount }}
<span class="sr-only"> {{ n__('draft', 'drafts', draftsCount) }} </span>
</gl-badge>
......
......@@ -22,7 +22,7 @@ export default {
variant: {
type: String,
required: false,
default: 'success',
default: 'confirm',
},
},
computed: {
......
......@@ -401,7 +401,7 @@ export default {
<gl-button
:disabled="isDisabled"
category="secondary"
variant="default"
variant="confirm"
data-qa-selector="comment_now_button"
class="gl-mr-3 js-comment-button"
@click="handleUpdate()"
......
......@@ -13,4 +13,4 @@
= form_for @project, html: { class: "merge-request-approval-settings-form js-mr-approvals-form" }, authenticity_token: true do |f|
%input{ name: 'update_section', type: 'hidden', value: 'js-merge-request-approval-settings' }
= render 'projects/merge_request_approvals_settings_form', form: f, project: @project
= f.submit _("Save changes"), class: "btn gl-button btn-success gl-mt-4", data: { qa_selector: 'save_merge_request_approval_settings_button' }
= f.submit _("Save changes"), class: "btn gl-button btn-confirm gl-mt-4", data: { qa_selector: 'save_merge_request_approval_settings_button' }
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