def link_to_user(display_name)
link_to(
- display_name,
+ content_tag(
+ 'strong',
+ display_name,
+ # NB we need "text-decoration: none" twice: GMail only honours it on
+ # the <a> but Outlook only on the <strong>
+ :style => "text-decoration: none"
+ ),
user_url(display_name, :host => SERVER_URL),
:target => "_blank",
- :style => "text-decoration: none; color: #222; font-weight: bold"
+ :style => "text-decoration: none; color: #222"
)
end
<%= image_tag attachments["logo.png"].url, alt: "OpenStreetMap", title: "OpenStreetMap", height: "30", width: "30", border: "0" %>
</a>
</td>
- <td style="width: 550px; padding: 0px; text-align: left">
+ <td style="width: 570px; padding: 0px; text-align: left">
+ <%# NB we need "text-decoration: none" twice: GMail only honours it on the <a> but Outlook only on the <strong> %>
<a href="<%= @root_url %>" target="_blank" style="text-decoration: none; color: #000">
- <h1 style="font-size: 18px; font-weight: 600; margin: 0; text-align: left">OpenStreetMap</h1>
+ <strong style="text-decoration: none; font-size: 18px; font-weight: 600; margin: 0; text-align: left">OpenStreetMap</strong>
</a>
</td>
</tr>