Update gcp signup offer to alert partial
What does this MR do and why?
Update gcp signup offer to alert partial
- use partial to abstract out partial code
Changelog: other
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
- Implement the following patch
diff --git a/app/helpers/clusters_helper.rb b/app/helpers/clusters_helper.rb
index ae890685dc6..f2421d2f100 100644
--- a/app/helpers/clusters_helper.rb
+++ b/app/helpers/clusters_helper.rb
@@ -64,8 +64,8 @@ def js_cluster_new
end
def render_gcp_signup_offer
- return if Gitlab::CurrentSettings.current_application_settings.hide_third_party_offers?
- return unless show_gcp_signup_offer?
+ # return if Gitlab::CurrentSettings.current_application_settings.hide_third_party_offers?
+ # return unless show_gcp_signup_offer?
content_tag :section, class: 'no-animate expanded' do
render 'clusters/clusters/gcp_signup_offer_banner'
- Navigate to
/admin/clusters
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #325358 (closed)

