summaryrefslogtreecommitdiff
path: root/app/views/admin/dashboard/_security_newsletter_callout.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/dashboard/_security_newsletter_callout.html.haml')
-rw-r--r--app/views/admin/dashboard/_security_newsletter_callout.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/dashboard/_security_newsletter_callout.html.haml b/app/views/admin/dashboard/_security_newsletter_callout.html.haml
index 7495298936d..0bdeef9acea 100644
--- a/app/views/admin/dashboard/_security_newsletter_callout.html.haml
+++ b/app/views/admin/dashboard/_security_newsletter_callout.html.haml
@@ -7,8 +7,8 @@
dismiss_endpoint: callouts_path,
defer_links: 'true' }},
close_button_options: { data: { testid: 'close-security-newsletter-callout' }}) do |c|
- = c.body do
+ - c.with_body do
= s_('AdminArea|Sign up for the GitLab Security Newsletter to get notified for security updates.')
- = c.actions do
+ - c.with_actions do
= render Pajamas::ButtonComponent.new(variant: :confirm, href: 'https://about.gitlab.com/company/preference-center/', target: '_blank', button_options: { class: 'deferred-link gl-alert-action', rel: 'noreferrer noopener' }) do
= s_('AdminArea|Sign up for the GitLab newsletter')