mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-10-27 06:47:01 +00:00
Merge pull request #500 from abhinavxd/fix/welcome-email-logo
fix missing logo in emails on a fresh install
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 6.4 KiB |
+1
-1
@@ -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),
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user