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:
Nick Ivanter 2016-04-15 21:59:46 +03:00
parent cc25716e47
commit c0d81a298e

View file

@ -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>