X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/cca78f979060e6c8fd4ffcbf58a2e3361502aa99..f9109b7a75f91c208a7b5f68cc64ba253a9041c5:/app/views/layouts/notifier.html.erb diff --git a/app/views/layouts/notifier.html.erb b/app/views/layouts/notifier.html.erb index 3f60696f3..a5a8420f0 100644 --- a/app/views/layouts/notifier.html.erb +++ b/app/views/layouts/notifier.html.erb @@ -1,21 +1,25 @@ - +"> -
- + <%# 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 %> + +
+ - @@ -23,7 +27,7 @@ +
- <%= image_tag attachments["logo.png"].url, alt: "OpenStreetMap logo", title: "OpenStreetMap", height: "30", width: "30", border: "0" %> + <%= image_tag attachments["logo.png"].url, :alt => "OpenStreetMap", :title => "OpenStreetMap", :height => "30", :width => "30", :border => "0" %> + <%# the "width: 100%" here looks wrong, but I couldn't find a better way of making Outlook give this cell full width %> + + <%# NB we need "text-decoration: none" twice: GMail only honours it on the but Outlook only on the %> -

OpenStreetMap

+ OpenStreetMap
- @@ -32,6 +36,7 @@
+ <%= raw style_message(yield) %>