openstreetmap-website/app/views/user_mailer/_gpx_description.html.erb
2020-11-25 11:34:35 +00:00

8 lines
433 B
Text

<% trace_name = tag.strong(@trace_name) %>
<% trace_description = tag.em(@trace_description) %>
<% if @trace_tags.length > 0 %>
<% tags = @trace_tags.map(&:tag).join(" ") %>
<%= 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 %>