FIX: consistent rendering of categories in digest emails
This commit is contained in:
parent
daabdd2ccf
commit
71e4fe9c85
|
@ -320,7 +320,9 @@ body, table, td, th, h1, h2, h3 {font-family: Helvetica, Arial, sans-serif !impo
|
|||
<a href="<%= Discourse.base_url_no_prefix + t.relative_url %>" style="color:#2F70AC;font-weight:400;line-height:1.3;margin:0;padding:0;text-decoration:none">
|
||||
<strong><%= t.title -%></strong>
|
||||
</a>
|
||||
<p style="color:#0a0a0a;line-height:1.3;margin:0 0 10px 0;padding:0;text-align:left"><%= t.category.try(:name) -%></p>
|
||||
<p style="color:#0a0a0a;line-height:1.3;margin:0 0 10px 0;padding:0;text-align:left">
|
||||
<%= category_badge(t.category, inline_style: true, absolute_url: true) %>
|
||||
</p>
|
||||
</td>
|
||||
<td style="padding:24px 8px 16px 8px;text-align:left;">
|
||||
<% t.posters_summary[0,2].each do |ps| %>
|
||||
|
|
Loading…
Reference in New Issue