14 lines
374 B
Ruby
14 lines
374 B
Ruby
module ClustersHelper
|
|
def has_multiple_clusters?(project)
|
|
false
|
|
end
|
|
|
|
def render_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 'projects/clusters/gcp_signup_offer_banner'
|
|
end
|
|
end
|
|
end
|