X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2f9291ba5764fe104264ae7e3b6a361e11212e8b..32c3000af7c2c4016b75abf5a396262e28aabd72:/app/views/layouts/notifier.html.erb?ds=sidebyside diff --git a/app/views/layouts/notifier.html.erb b/app/views/layouts/notifier.html.erb index 883f1b385..c10ed1c70 100644 --- a/app/views/layouts/notifier.html.erb +++ b/app/views/layouts/notifier.html.erb @@ -1,25 +1,25 @@ - +"> - + ; padding: 0; margin: 0; font-size: 14px; font-family: 'Helvetica Neue', Arial, sans-serif; color: #222"> <%# having width=100% on the table and then only a fixed width on the middle cell gives us a max-width that works in Outlook %>
- +
- <%# the "width: 100%" here looks wrong, but I couldn't find a better way of making Outlook give this cell full width %> - @@ -27,7 +27,7 @@
+ - <%= image_tag attachments["logo.png"].url, alt: "OpenStreetMap", title: "OpenStreetMap", height: "30", width: "30", border: "0" %> + <%= image_tag attachments["logo.png"].url, :alt => "OpenStreetMap", :title => "OpenStreetMap", :height => "30", :width => "30", :border => "0" %> + <%# NB we need "text-decoration: none" twice: GMail only honours it on the but Outlook only on the %> - OpenStreetMap + OpenStreetMap
-
+ <%= raw style_message(yield) %>