]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/_message_body.html.erb
Add user_<uid> class to diary entry div
[rails.git] / app / views / notifier / _message_body.html.erb
index b71c5f99443b75fb5be8acf36c00a34040aedcf4..f8a4e262127b06f86ba801bffa2ba801933ffd10 100644 (file)
@@ -2,17 +2,17 @@
   <tr>
     <td style="width: 50px; min-width: 50px; vertical-align: top; padding: 15px">
       <%= link_to(
   <tr>
     <td style="width: 50px; min-width: 50px; vertical-align: top; padding: 15px">
       <%= link_to(
-          image_tag(
-            attachments["avatar.png"].url,
-            alt: @author,
-            title: @author,
-            width: 50,
-            height: 50,
-            border: 0
-          ),
-          user_url(@author, :host => SERVER_URL),
-          :target => "_blank"
-      ) %>
+            image_tag(
+              attachments["avatar.png"].url,
+              :alt => @author,
+              :title => @author,
+              :width => 50,
+              :height => 50,
+              :border => 0
+            ),
+            user_url(@author),
+            :target => "_blank", :rel => "noopener"
+          ) %>
     </td>
     <td style="text-align: left; vertical-align: top; padding-right: 10px; width: 100%">
       <%= body %>
     </td>
     <td style="text-align: left; vertical-align: top; padding-right: 10px; width: 100%">
       <%= body %>