Commit ae348f6e authored by Peter Leitzen's avatar Peter Leitzen

Merge branch 'issue_342492_1' into 'master'

Fixing offences as using `.` in template name has been deprecated

See merge request gitlab-org/gitlab!72842
parents a2080044 58d603bd
...@@ -39,14 +39,14 @@ module AppearancesHelper ...@@ -39,14 +39,14 @@ module AppearancesHelper
if current_appearance&.header_logo? if current_appearance&.header_logo?
image_tag current_appearance.header_logo_path, class: 'brand-header-logo' image_tag current_appearance.header_logo_path, class: 'brand-header-logo'
else else
render 'shared/logo.svg' render partial: 'shared/logo', formats: :svg
end end
end end
# Skip the 'GitLab' type logo when custom brand logo is set # Skip the 'GitLab' type logo when custom brand logo is set
def brand_header_logo_type def brand_header_logo_type
unless current_appearance&.header_logo? unless current_appearance&.header_logo?
render 'shared/logo_type.svg' render partial: 'shared/logo_type', formats: :svg
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment