diff options
Diffstat (limited to 'app/views/shared/_service_ping_consent.html.haml')
-rw-r--r-- | app/views/shared/_service_ping_consent.html.haml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/shared/_service_ping_consent.html.haml b/app/views/shared/_service_ping_consent.html.haml index 9cdff35ead2..96f015c7a4b 100644 --- a/app/views/shared/_service_ping_consent.html.haml +++ b/app/views/shared/_service_ping_consent.html.haml @@ -1,7 +1,5 @@ - if session[:ask_for_usage_stats_consent] - = render 'shared/global_alert', - variant: :info, - alert_class: 'service-ping-consent-message' do + = render Pajamas::AlertComponent.new(alert_class: 'service-ping-consent-message') do .gl-alert-body - docs_link = link_to _('collect usage information'), help_page_path('user/admin_area/settings/usage_statistics.md'), class: 'gl-link' - settings_link = link_to _('your settings'), metrics_and_profiling_admin_application_settings_path(anchor: 'js-usage-settings'), class: 'gl-link' |