]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/changeset_comment_notification.html.erb
Move localised text to locale file
[rails.git] / app / views / notifier / changeset_comment_notification.html.erb
index 752f6c0f435b3c74265477f75ea86b311f17ebcb..03658852a262983cf5b99b8dca81ddcaeb33f9a2 100644 (file)
@@ -11,7 +11,7 @@
             <tr>
               <td style="width: 30px; padding: 10px">
                 <a href="<%= @root_url %>" target="_blank">
-                  <%= image_tag attachments["osm_logo_30x30.png"].url, alt: "OpenStreetMap logo", title: "OpenStreetMap", height: "30", width: "30", border: "0" %>
+                  <%= image_tag attachments["logo.png"].url, alt: "OpenStreetMap logo", title: "OpenStreetMap", height: "30", width: "30", border: "0" %>
                 </a>
               </td>
               <td style="padding: 10px 0px">
                       </p>
                       <table style="font-size: 15px; font-style: italic; margin: 15px; background-color: #eee; width: 520px">
                         <tr>
-                          <td style="width: 50px; vertical-align: top; padding: 10px">
+                          <td style="width: 50px; vertical-align: top; padding: 15px">
                             <a href="<%= @commenter_url %>" target="_blank"><%= image_tag attachments["avatar.png"].url, alt: @commenter %></a>
                           </td>
-                          <td style="text-align: left; vertical-align: top; padding: 10px">
+                          <td style="text-align: left; vertical-align: top; padding-right: 10px">
                             <%= @comment.to_html %>
                           </td>
                         </tr>
@@ -61,9 +61,7 @@
       <tr>
         <td style="text-align: center; font-size: 11px">
           <p>
-            To unsubscribe from updates to this changeset, visit
-            <nobr><a style="color: #222" href="<%= @changeset_url %>"><%= @changeset_url %></a></nobr>
-            and click 'Unsubscribe'
+            <%= t 'notifier.changeset_comment_notification.unsubscribe_html', :url => @changeset_url %>
           </p>
           <p style="margin-bottom: 10px">
             <a href="https://www.openstreetmap.org/" target="_blank" style="color: #222">OpenStreetMap.org</a>