X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/df495292376ecc893197bba7093bf2e558aad074..3c410bcd7e7934dc8c7e1cd8c0ab974f22730527:/app/views/browse/_way.html.erb diff --git a/app/views/browse/_way.html.erb b/app/views/browse/_way.html.erb index 4f331b5e9..7099f015a 100644 --- a/app/views/browse/_way.html.erb +++ b/app/views/browse/_way.html.erb @@ -11,7 +11,7 @@ <%= render :partial => "common_details", :object => way %> <% unless way.containing_relation_members.empty? %> -

<%= t'browse.part_of' %>

+

<%= t 'browse.part_of' %>

@@ -25,7 +25,7 @@ <%= link_to printable_name(wn.node), { :action => "node", :id => wn.node_id.to_s }, :class => link_class('node', wn.node), :title => link_title(wn.node), :rel => link_follow(wn.node) %> <% related_ways = wn.node.ways.reject { |w| w.id == wn.way_id } %> <% if related_ways.size > 0 then %> - (<%= raw t '.also_part_of', :count => related_ways.size, :related_ways => related_ways.map { |w| link_to(printable_name(w), { :action => "way", :id => w.id.to_s }, :class => link_class('way', w), :title => link_title(w) ) }.to_sentence %>) + (<%= raw t '.also_part_of', :count => related_ways.size, :related_ways => related_ways.map { |w| link_to(printable_name(w), { :action => "way", :id => w.id.to_s }, :class => link_class('way', w), :title => link_title(w)) }.to_sentence %>) <% end %> <% end %>