-<%= t'notifier.gpx_notification.greeting' %>
-
<%= t'notifier.gpx_notification.your_gpx_file' %>
-
- <%= @trace_name %>
-
+<strong><%= @trace_name %></strong>
<%= t'notifier.gpx_notification.with_description' %>
-
- <%= @trace_description %>
+<em><%= @trace_description %></em>
<% if @trace_tags.length>0 %>
-<%= t'notifier.gpx_notification.and_the_tags' %>
-<% @trace_tags.each do |tag| %>
- <%= tag.tag.rstrip %><% end %><% else %>
-<%= t'notifier.gpx_notification.and_no_tags' %><% end %>
+ <%= t'notifier.gpx_notification.and_the_tags' %>
+ <em><% @trace_tags.each do |tag| %>
+ <%= tag.tag.rstrip %>
+ <% end %></em>
+<% else %>
+ <%= t'notifier.gpx_notification.and_no_tags' %>
+<% end %>
-<%= 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 %>
-<%= render :partial => "gpx_description" %>
-<%= t'notifier.gpx_notification.success.loaded_successfully', :trace_points => @trace_points, :possible_points => @possible_points %>
+<% content_for :body do %>
+ <p style="margin: 0"><%= t'notifier.gpx_notification.greeting' %></p>
+
+ <p>
+ <%= render :partial => "gpx_description" %>
+ <%= t'notifier.gpx_notification.success.loaded_successfully', :trace_points => @trace_points, :possible_points => @possible_points %>
+ </p>
+<% end %>