X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3d7eb387a7c3573f1a1d17df00adcaa1fb9b9fa5..b4b8154a80c7665b856ff649cdd8eb2720d93d94:/app/views/browse/_map.html.erb?ds=sidebyside diff --git a/app/views/browse/_map.html.erb b/app/views/browse/_map.html.erb index cf59a4679..9b82753fb 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 } @@ -52,7 +50,7 @@ <% end -%>
  • - <%= link_to h(t("browse.map.edit.area")) + content_tag(:span, "▾", :class => "menuicon"), + <%= link_to h(t("browse.map.edit.area")) + content_tag(:span, "▼", :class => "menuicon"), edit_path, :id => "area_edit", :data => { :editor => preferred_editor }, @@ -60,7 +58,7 @@
  • - <% unless map.instance_of? Changeset or map.instance_of? Note %> + <% unless map.instance_of? Changeset %>