X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a9c4b037a2f8300d083ae7286a8cd361e9fa7711..c192bd0d40aab2bbabf47c1dd726c366ffa51db3:/app/views/traces/_trace.html.erb 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 }, ", ") %>