]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/changeset_comment_notification.html.erb
Use parameterised server root URL rather than hardcoded
[rails.git] / app / views / notifier / changeset_comment_notification.html.erb
index 8895f837a86491774af3fb362ba78a5a4517cf38..67deff5e03682f6f464210c284f195dc1482d0ab 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">
       <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>
+            <a href="<%= @root_url %>" target="_blank" style="color: #222">OpenStreetMap</a>
           </p>
         </td>
       </tr>