Merge pull request #500 from abhinavxd/fix/welcome-email-logo

fix missing logo in emails on a fresh install
This commit is contained in:
Abhinav Raut
2026-08-17 18:57:17 +05:30
committed by GitHub
3 changed files with 2 additions and 4 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

+1 -1
View File
@@ -969,7 +969,7 @@ INSERT INTO settings ("key", value)
VALUES
('app.lang', '"en-US"'::jsonb),
('app.root_url', '"http://localhost:9000"'::jsonb),
('app.logo_url', '"http://localhost:9000/logo.png"'::jsonb),
('app.logo_url', '""'::jsonb),
('app.site_name', '"libredesk"'::jsonb),
('app.favicon_url', '"http://localhost:9000/favicon.ico"'::jsonb),
('app.max_file_upload_size', '20'::jsonb),
+1 -3
View File
@@ -123,10 +123,8 @@
<div class="header">
{{ if ne LogoURL "" }}
<img src="{{ LogoURL }}" alt="{{ SiteName }}" style="max-height: 25px; width: auto;">
{{ else if ne SiteName "" }}
<span style="font-size: 18px; font-weight: 700; color: #09090b;">{{ SiteName }}</span>
{{ else }}
<span style="font-size: 18px; font-weight: 700; color: #09090b;">libredesk</span>
<img src="{{ RootURL }}/images/logo.png" alt="{{ SiteName }}" style="max-height: 25px; width: auto;">
{{ end }}
</div>
{{ end }}