]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/gpx_failure.html.erb
Dressed up gpx notification mails
[rails.git] / app / views / notifier / gpx_failure.html.erb
index f59aa3dbbf58056853de136a5311c6b1360fd310..d1319acbd1286bff9e0f106aee025481c3747a50 100644 (file)
@@ -1,9 +1,18 @@
-<%= render :partial => "gpx_description" %>
-<%= t'notifier.gpx_notification.failure.failed_to_import' %>
+<% content_for :body do %>
+  <p style="margin: 0"><%= t'notifier.gpx_notification.greeting' %></p>
 
-  <%= @error %>
+  <p>
+    <%= render :partial => "gpx_description" %>
+    <%= t'notifier.gpx_notification.failure.failed_to_import' %>
+  </p>
 
-<%= t'notifier.gpx_notification.failure.more_info_1' %>
-<%= t'notifier.gpx_notification.failure.more_info_2' %>
+  <blockquote>
+    <%= @error %>
+  </blockquote>
 
-  <%= t'notifier.gpx_notification.failure.import_failures_url' %>
+  <p>
+    <%= t'notifier.gpx_notification.failure.more_info_1' %>
+    <%= t'notifier.gpx_notification.failure.more_info_2' %>
+    <%= t'notifier.gpx_notification.failure.import_failures_url' %>
+  </p>
+<% end %>