diff options
author | Luke Bennett <lbennett@gitlab.com> | 2018-11-07 08:06:40 +0300 |
---|---|---|
committer | Luke Bennett <lbennett@gitlab.com> | 2018-11-21 18:25:52 +0300 |
commit | 874544507cde6c079fdbc29132c1b2e01a633d73 (patch) | |
tree | 18cd891e319bdd92fc87acd82b22fedef7a3029b /app/views/clusters | |
parent | 7d1bc0bee8abe4bb029f96b74fd7de492219a49c (diff) |
Promote the GitLab.com Gold trial on a users default dashboard
Show a dismissable callout on a users dashboard for a free trial of
the GitLab.com Gold plan. Hide the callout from users who have
dismissed the callout, are already on a trial or are already on the
gold plan
Diffstat (limited to 'app/views/clusters')
-rw-r--r-- | app/views/clusters/clusters/_gcp_signup_offer_banner.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/clusters/clusters/_gcp_signup_offer_banner.html.haml b/app/views/clusters/clusters/_gcp_signup_offer_banner.html.haml index 73b11d509d3..85d1002243b 100644 --- a/app/views/clusters/clusters/_gcp_signup_offer_banner.html.haml +++ b/app/views/clusters/clusters/_gcp_signup_offer_banner.html.haml @@ -1,6 +1,6 @@ - link = link_to(s_('ClusterIntegration|sign up'), 'https://console.cloud.google.com/freetrial?utm_campaign=2018_cpanel&utm_source=gitlab&utm_medium=referral', target: '_blank', rel: 'noopener noreferrer') -.bs-callout.gcp-signup-offer.alert.alert-block.alert-dismissable.prepend-top-default.append-bottom-default{ role: 'alert' } - %button.close{ type: "button", data: { feature_id: UserCalloutsHelper::GCP_SIGNUP_OFFER, dismiss_endpoint: user_callouts_path } } × +.bs-callout.gcp-signup-offer.alert.alert-block.alert-dismissable.prepend-top-default.append-bottom-default{ role: 'alert', data: { feature_id: UserCalloutsHelper::GCP_SIGNUP_OFFER, dismiss_endpoint: user_callouts_path } } + %button.close.js-close{ type: "button" } × .gcp-signup-offer--content .gcp-signup-offer--icon.append-right-8 = sprite_icon("information", size: 16) |