X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/783b5e3729228908d7404ae7404af1023501a906..b4b59df75e4048eaebff7c7efeeee66aa3bfa5a3:/app/views/browse/_node.html.erb diff --git a/app/views/browse/_node.html.erb b/app/views/browse/_node.html.erb index 52502ad4b..ab91a9728 100644 --- a/app/views/browse/_node.html.erb +++ b/app/views/browse/_node.html.erb @@ -12,12 +12,24 @@ <% unless node.ways.empty? and node.containing_relation_members.empty? %>

<%= t "browse.part_of" %>

- + <% unless node.ways.empty? %> +
> + <%= t 'browse.part_of_ways', :count => node.ways.count %> + +
+ <% end %> + <% unless node.containing_relation_members.empty? %> +
> + <%= t 'browse.part_of_relations', :count => node.containing_relation_members.count %> + +
+ <% end %> <% end %> <% end %>