Skip to content
Snippets Groups Projects
Verified Commit 5d08ccb3 authored by Eduardo Sanz García's avatar Eduardo Sanz García :zero:
Browse files

Remove two uses of variant info in buttons

parent 769e7491
No related branches found
No related tags found
2 merge requests!144312Change service start (cut-off) date for code suggestions to March 15th,!142898Remove two uses of variant info in buttons
......@@ -156,7 +156,7 @@ export default {
<div v-if="statsDownloadLink">
<h2>{{ $options.i18n.statsTitle }}</h2>
<p>{{ $options.i18n.statsDescription }}</p>
<gl-button category="secondary" variant="info" :href="statsDownloadLink">
<gl-button category="secondary" variant="confirm" :href="statsDownloadLink">
{{ $options.i18n.statsButtonTitle }}
</gl-button>
......
......@@ -3,6 +3,8 @@
module Namespaces
module CombinedStorageUsers
class OwnerAlertComponent < BaseAlertComponent
include ButtonHelper
private
def render?
......@@ -28,17 +30,19 @@ def alert_body
end
def namespace_primary_cta
link_to _('Explore paid plans'),
link_button_to _('Explore paid plans'),
group_billings_path(root_namespace, source: 'users-storage-limit-alert-enforcement'),
class: 'btn gl-alert-action btn-info btn-md gl-button',
variant: :confirm,
class: 'gl-alert-action',
data: { track_action: 'click_button',
track_label: 'explore_paid_plans' }
end
def namespace_secondary_cta
link_to _('Manage usage'),
link_button_to _('Manage usage'),
group_usage_quotas_path(root_namespace, source: 'users-storage-limit-alert-enforcement'),
class: 'btn gl-alert-action btn-default btn-md gl-button',
variant: :default,
class: 'gl-alert-action',
data: {
track_action: 'click_button',
track_label: 'manage_users_storage_limits'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment