]> git.openstreetmap.org Git - rails.git/blob - app/views/user_mailer/_gpx_description.html.erb
Merge remote-tracking branch 'upstream/pull/4272'
[rails.git] / app / views / user_mailer / _gpx_description.html.erb
1 <% trace_name = tag.strong(@trace_name) %>
2 <% trace_name = link_to(trace_name, @trace_url) if @trace_url %>
3 <% trace_description = tag.em(@trace_description) %>
4 <% if @trace_tags.length > 0 %>
5   <% tags = safe_join @trace_tags.map { |trace_tag| tag.em trace_tag.tag }, ", " %>
6   <%= t ".description_with_tags_html", :trace_name => trace_name, :trace_description => trace_description, :tags => tags %>
7 <% else %>
8   <%= t ".description_with_no_tags_html", :trace_name => trace_name, :trace_description => trace_description %>
9 <% end %>