X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a9c4b037a2f8300d083ae7286a8cd361e9fa7711..b6277bda2028d7cd54299cecb69b9efa3ab3c671:/app/views/traces/_trace.html.erb?ds=sidebyside diff --git a/app/views/traces/_trace.html.erb b/app/views/traces/_trace.html.erb index 473d0aa39..c2f4183eb 100644 --- a/app/views/traces/_trace.html.erb +++ b/app/views/traces/_trace.html.erb @@ -9,7 +9,7 @@ <% end %> <%= link_to trace.name, :controller => "traces", :action => "show", :display_name => trace.user.display_name, :id => trace.id %> - ... + ... <% if trace.inserted %> (<%= t ".count_points", :count => trace.size %>) <% end %> @@ -21,12 +21,12 @@ when "public", "identifiable" then "success" else "danger" end %> - <%= t("." + trace.visibility) %> + <%= t(".#{trace.visibility}") %>
<%= trace.description %>
- <%= t ".by" %> <%= link_to h(trace.user.display_name), user_path(trace.user) %> + <%= t ".by" %> <%= link_to trace.user.display_name, user_path(trace.user) %> <% if !trace.tags.empty? %> <%= t ".in" %> <%= safe_join(trace.tags.collect { |tag| link_to_tag tag.tag }, ", ") %>