]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_mailer/gpx_success.html.erb
Move trace descriptions out of success/failure sentences in emails
[rails.git] / app / views / user_mailer / gpx_success.html.erb
index 78af1166cd0febf70fc709b8566da871f4b8db60..3307e471b5ccc8f3cec1fcc92bf9ad06e0a675d6 100644 (file)
@@ -1,7 +1,9 @@
-<p><%= t "user_mailer.gpx_notification.greeting" %></p>
+<p><%= t ".hi", :to_user => @to_user %></p>
+
+<p><%= t ".loaded_successfully", :trace_points => @trace_points, :count => @possible_points %>
+
+<%= render :partial => "gpx_description" %>
 
 <p>
-  <%= render :partial => "gpx_description" %>
-  <%= t("user_mailer.gpx_notification.success.loaded_successfully",
-        :trace_points => @trace_points, :possible_points => @possible_points, :count => @possible_points) %>
+  <%= t ".all_your_traces_html", :url => link_to(@my_traces_url, @my_traces_url) %>
 </p>