]> git.openstreetmap.org Git - rails.git/blob - app/views/user_mailer/_gpx_description.text.erb
Merge remote-tracking branch 'upstream/pull/4565'
[rails.git] / app / views / user_mailer / _gpx_description.text.erb
1 <% trace_name = @trace_name %>
2 <% trace_description = @trace_description %>
3 <% if @trace_tags.length > 0 %>
4   <% tags = @trace_tags.map { |trace_tag| trace_tag.tag }.join(", ") %>
5   <%= t ".description_with_tags", :trace_name => trace_name, :trace_description => trace_description, :tags => tags %>
6 <% else %>
7   <%= t ".description_with_no_tags", :trace_name => trace_name, :trace_description => trace_description %>
8 <% end %>