]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_mailer/_gpx_description.html.erb
Don't link to trace pages from failed import emails
[rails.git] / app / views / user_mailer / _gpx_description.html.erb
index 50fcd69600ff05d966de48f29318df88619113ae..42998213693f4cbdc3b5f1df0211fa07a0b02907 100644 (file)
@@ -1,4 +1,5 @@
 <% 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 = @trace_tags.map(&:tag).join(" ") %>