]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/changeset_comment_notification.html.erb
A better way to contrain the width of the message box whilst also allowing it to...
[rails.git] / app / views / notifier / changeset_comment_notification.html.erb
index cb2748f4acd5d1ccf82a57291350911f6f41f3a8..19ca33d85e2041b5b9546c98d98e3dfe2ecde3f5 100644 (file)
   <% end %>
 </p>
 
-<%= render "notifier/user_message_table", :captured => capture { %>
+<%= message_body do %>
   <%= @comment.to_html %>
-<% } %>
+<% end %>
 
 <p>
-  <%= raw t 'notifier.changeset_comment_notification.details', :url => content_tag("nobr", link_to(@changeset_url, @changeset_url)) %>
+  <%= 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")) %>
+    <%= raw t 'notifier.changeset_comment_notification.unsubscribe', :url => link_to(@changeset_url, @changeset_url, :style => "color: #222") %>
   </p>
 <% end %>