X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/53817fa9e8d955df0891d156f21b7269b4ed08fc..be8d76926cb5e1cc5f9d3f81bda80e716f75a59d:/app/views/user_mailer/_gpx_description.html.erb diff --git a/app/views/user_mailer/_gpx_description.html.erb b/app/views/user_mailer/_gpx_description.html.erb index 85b4c7cae..0ca88bb24 100644 --- a/app/views/user_mailer/_gpx_description.html.erb +++ b/app/views/user_mailer/_gpx_description.html.erb @@ -1,9 +1,24 @@ -<% trace_name = tag.strong(@trace_name) %> -<% trace_name = link_to(trace_name, @trace_url) if @trace_url %> -<% trace_description = tag.em(@trace_description) %> -<% if @trace_tags.length > 0 %> - <% tags = safe_join @trace_tags.map { |trace_tag| tag.em trace_tag.tag }, ", " %> - <%= t ".description_with_tags_html", :trace_name => trace_name, :trace_description => trace_description, :tags => tags %> -<% else %> - <%= t ".description_with_no_tags_html", :trace_name => trace_name, :trace_description => trace_description %> -<% end %> +

<%= t ".details" %>

+ +
+
<%= t ".filename" %> + <% if @trace_url %> +
<%= link_to(@trace_name, @trace_url) %> + <% else %> +
<%= @trace_name %> + <% end %> +
<%= t ".description" %> +
<%= @trace_description %> + <% if @trace_tags.length > 0 %> +
<%= t ".tags" %> +
<%= @trace_tags.map(&:tag).join(", ") %> + <% end %> + <% if @possible_points %> +
<%= t ".total_points" %> +
<%= @possible_points %> + <% end %> + <% if @trace_points %> +
<%= t ".imported_points" %> +
<%= @trace_points %> + <% end %> +