From: Frederik Ramm Date: Sat, 2 Apr 2011 14:58:44 +0000 (+0200) Subject: Show the position of a deleted node in browse mode X-Git-Tag: live~6286^2~93 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/935c238626af44723ecb51531fe3a552831edd70 Show the position of a deleted node in browse mode --- diff --git a/app/views/browse/_map.html.erb b/app/views/browse/_map.html.erb index f41deff95..13a352820 100644 --- a/app/views/browse/_map.html.erb +++ b/app/views/browse/_map.html.erb @@ -2,7 +2,7 @@ <%= javascript_include_tag '/openlayers/OpenStreetMap.js' %> <%= javascript_include_tag 'map.js' %>
- <% if map.instance_of? Changeset or map.visible %> + <% if map.instance_of? Changeset or (map.instance_of? Node and map.version > 1) or map.visible %>
<%= t 'browse.map.loading' %> @@ -15,7 +15,7 @@ <%= t 'browse.map.deleted' %> <% end %>
-<% if map.instance_of? Changeset or map.visible %> +<% if map.instance_of? Changeset or (map.instance_of? Node and map.version > 1) or map.visible %>