X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3d7eb387a7c3573f1a1d17df00adcaa1fb9b9fa5..b30983f02bd1a0963157c14f14e996f258936625:/app/views/browse/_map.html.erb diff --git a/app/views/browse/_map.html.erb b/app/views/browse/_map.html.erb index cf59a4679..ed703665d 100644 --- a/app/views/browse/_map.html.erb +++ b/app/views/browse/_map.html.erb @@ -1,6 +1,3 @@ - -
<% if map.instance_of? Changeset or (map.instance_of? Node and map.version > 1) or map.visible? %> @@ -22,6 +19,7 @@ elsif map.instance_of? Note data = { :type => "note", + :id => map.id, :lon => map.lon, :lat => map.lat } @@ -37,30 +35,28 @@ <%= content_tag "div", "", :id => "small_map", :data => data %> <%= t 'browse.map.loading' %> - + - <% unless map.instance_of? Changeset or map.instance_of? Note %> + <% unless map.instance_of? Changeset %> <% end %> @@ -82,25 +76,3 @@ <%= t 'browse.map.deleted' %> <% end %>
- - - -