Skip to content

Do not use custom SVG logo for email header

Thomas Hutterer requested to merge 360791-svg-header-logo-email-fallback into master

What does this MR do and why?

Fixes #360791 (closed) by implementing the solution discussed here.

tldr: Custom SVG logos are not used in the email header_logo. Instead we use the default GitLab logo.

Screenshots or screen recordings

image

How to set up and validate locally

  1. Upload a SVG file as Header log under Admin/Settings/Appearance.
  2. See your custom logo in the top-left navbar.
  3. Go to any mailer preview under /rails/mailers and see the GitLab logo in the header.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports