diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-29 09:09:45 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-29 09:09:45 +0300 |
commit | cd54f7e81bbedff94ea78092f44fb67bd8c2ac57 (patch) | |
tree | 588056e7ded7fbefe4f1158a550dcc2d581aa178 /app/helpers/clusters_helper.rb | |
parent | f574f9a14bb6448935fd27a67fc9f3ca61ffcc86 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/clusters_helper.rb')
-rw-r--r-- | app/helpers/clusters_helper.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/helpers/clusters_helper.rb b/app/helpers/clusters_helper.rb index caad215e996..884452fe32f 100644 --- a/app/helpers/clusters_helper.rb +++ b/app/helpers/clusters_helper.rb @@ -42,14 +42,6 @@ module ClustersHelper } end - # This method is depreciated and will be removed when associated HAML files are moved to JavaScript - def provider_icon(provider = nil) - img_data = js_clusters_list_data.dig(:img_tags, provider&.to_sym) || - js_clusters_list_data.dig(:img_tags, :default) - - image_tag img_data[:path], alt: img_data[:text], class: 'gl-h-full' - end - def render_gcp_signup_offer return if Gitlab::CurrentSettings.current_application_settings.hide_third_party_offers? return unless show_gcp_signup_offer? |