discourse/app/views/user_notifications/digest/_header.html.erb
benj b6c1ec0264
DEV: Breaks up core digest.text.erb for readability (#33637)
Adds partials for digest.text.erb and some comments for clarity.
2025-07-17 11:41:21 -05:00

16 lines
No EOL
759 B
Text
Vendored

<table width="100%" class="digest-header text-header with-dir" style="background-color:#<%= @header_bgcolor -%>;">
<tr>
<!-- Empty cells pad either side of the email content -->
<td></td>
<td width="650" align="center" style="text-align: center;padding: 20px 0; font-family:Arial,sans-serif;">
<a href="<%= Discourse.base_url %>" style="color:#<%= @header_color -%>;font-size:22px;text-decoration:none;">
<%- if logo_url.blank? %>
<%= SiteSetting.title %>
<%- else %>
<img src="<%= logo_url %>" height="40" style="clear:both;display:block;height:40px;margin:auto;max-width:100%;outline:0;text-decoration:none;" alt="<%= SiteSetting.title %>">
<%- end %>
</a>
</td>
<td></td>
</tr>
</table>