[openstreetmap/openstreetmap-website] Dressed up notification mails (#1401)
Hervé Saint-Amand
notifications at github.com
Mon Jan 16 23:07:03 UTC 2017
saintamh commented on this pull request.
>
-<p><%= raw t 'notifier.changeset_comment_notification.details', :url => link_to(@changeset_url, @changeset_url) %></p>
+<% content_for :footer do %>
+ <p>
+ <%= raw t 'notifier.changeset_comment_notification.unsubscribe', :url => content_tag("nobr", link_to(@changeset_url, @changeset_url, :style => "color: #222")) %>
Ah yes, well spotted. Also some email clients strip `<nobr>`, the `white-space` CSS attribute fares better. Fixed now.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1401
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170116/e1a5ddc8/attachment.html>
More information about the rails-dev
mailing list