Merge pull request #10911 from jibees/10901-white-label-customized-logo-on-small-screens-doesnt-use-the-customized-url

[White Label] Small width screens : use the white label link if exists for logo in nav bar
This commit is contained in:
Filipe
2023-06-01 08:16:53 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
%section.left
.ofn-logo
%a{href: main_app.root_path}
%a{href: main_logo_link(@white_label_distributor)}
- if @white_label_logo&.variable?
= image_tag @white_label_distributor.white_label_logo_url(:mobile)
- else

View File

@@ -2,7 +2,7 @@
%ul.off-canvas-list
= cache_with_locale [ContentConfig.cache_key, @white_label_logo] do
%li.ofn-logo
%a{href: main_app.root_path}
%a{href: main_logo_link(@white_label_distributor)}
- if @white_label_logo&.variable?
= image_tag @white_label_distributor.white_label_logo_url(:mobile)
- else