Add 'alt' tag to logo img in digest email
The rationale for this is that the logo, as any other image, is not loaded by default by many email clients. In absence of an 'alt' tag, it shows an empty space in the email. Having the site title in there seems better.
This commit is contained in:
parent
cc25716e47
commit
c0d81a298e
|
@ -5,7 +5,7 @@
|
|||
<%- if logo_url.blank? %>
|
||||
<%= SiteSetting.title %>
|
||||
<%- else %>
|
||||
<img src="<%= logo_url %>" style="max-height: 35px; min-height: 35px; height: 35px;" class='site-logo'>
|
||||
<img src="<%= logo_url %>" style="max-height: 35px; min-height: 35px; height: 35px;" class='site-logo' alt="<%= SiteSetting.title %>">
|
||||
<%- end %>
|
||||
</a>
|
||||
</td>
|
||||
|
|
Loading…
Reference in New Issue