]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/_message_body.html.erb
Merge remote-tracking branch 'upstream/pull/2881'
[rails.git] / app / views / notifier / _message_body.html.erb
index b3b0eb687d5b44277e6cd8d76d2e4134e2575562..d572fb9d0a79e92e7486b56218d63792295b0116 100644 (file)
@@ -4,17 +4,17 @@
       <%= link_to(
             image_tag(
               attachments["avatar.png"].url,
-              alt: @author,
-              title: @author,
-              width: 50,
-              height: 50,
-              border: 0
+              :alt => @author,
+              :title => @author,
+              :width => 50,
+              :height => 50,
+              :border => 0
             ),
             user_url(@author),
-            :target => "_blank"
+            :target => "_blank", :rel => "noopener"
           ) %>
     </td>
-    <td style="text-align: left; vertical-align: top; padding-right: 10px; width: 100%">
+    <td style="text-align: <%= style_left %>; vertical-align: top; padding-<%= style_right %>: 10px; width: 100%">
       <%= body %>
     </td>
   </tr>