diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 78fb124db..fca902445 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -163,10 +163,6 @@ module ApplicationHelper end end - def safe_logo_url(logo) - logo.presence || SiteConfig.logo_png - end - def community_name @community_name ||= Settings::Community.community_name end diff --git a/app/lib/constants/site_config.rb b/app/lib/constants/site_config.rb index c7cdeebcf..c6a8affdf 100644 --- a/app/lib/constants/site_config.rb +++ b/app/lib/constants/site_config.rb @@ -87,10 +87,6 @@ module Constants description: "Determines how often periodic email digests are sent", placeholder: 2 }, - secondary_logo_url: { - description: "A place for an alternate logo, if you have one. Used throughout member onboarding and in some sign in forms.", - placeholder: IMAGE_PLACEHOLDER - }, shop_url: { description: "Used as the shop url of the community", placeholder: "https://shop.url" diff --git a/app/models/site_config.rb b/app/models/site_config.rb index acbbe3d24..59de94b07 100644 --- a/app/models/site_config.rb +++ b/app/models/site_config.rb @@ -94,7 +94,6 @@ class SiteConfig < RailsSettings::Base validates: { url: true } field :logo_svg, type: :string - field :secondary_logo_url, type: :string, validates: { url: true } field :enable_video_upload, type: :boolean, default: false diff --git a/app/views/admin/configs/show.html.erb b/app/views/admin/configs/show.html.erb index d7e5de3e3..b1f9ad78e 100644 --- a/app/views/admin/configs/show.html.erb +++ b/app/views/admin/configs/show.html.erb @@ -733,18 +733,6 @@ <% end %> -
- <%= admin_config_label :secondary_logo_url %> - <%= admin_config_description Constants::SiteConfig::DETAILS[:secondary_logo_url][:description] %> - <%= f.text_field :secondary_logo_url, - class: "crayons-textfield", - value: SiteConfig.secondary_logo_url, - placeholder: Constants::SiteConfig::DETAILS[:secondary_logo_url][:placeholder] %> - <% if SiteConfig.secondary_logo_url.present? %> - secondary logo image - <% end %> -
- <%= render "form_submission", f: f %> diff --git a/app/views/layouts/_signup_modal.html.erb b/app/views/layouts/_signup_modal.html.erb index eb0e17150..fd556ccec 100644 --- a/app/views/layouts/_signup_modal.html.erb +++ b/app/views/layouts/_signup_modal.html.erb @@ -1,7 +1,7 @@