]> git.openstreetmap.org Git - rails.git/blob - app/views/user_mailer/_gpx_description.html.erb
Include count in messages for the "one" plural category
[rails.git] / app / views / user_mailer / _gpx_description.html.erb
1 <% trace_name = tag.strong(@trace_name) %>
2 <% trace_description = tag.em(@trace_description) %>
3 <% if @trace_tags.length > 0 %>
4   <% tags = @trace_tags.map(&:tag).join(" ") %>
5   <%= t ".description_with_tags_html", :trace_name => trace_name, :trace_description => trace_description, :tags => tags %>
6 <% else %>
7   <%= t ".description_with_no_tags_html", :trace_name => trace_name, :trace_description => trace_description %>
8 <% end %>