X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/c321c026f265c6c2b25a3d564232a12f6ca48c0a..9b72debd9af91a5d312bdf41168c1e37bcbaa696:/app/views/browse/_changeset_details.rhtml?ds=sidebyside diff --git a/app/views/browse/_changeset_details.rhtml b/app/views/browse/_changeset_details.rhtml index 2b711611b..5b724012a 100644 --- a/app/views/browse/_changeset_details.rhtml +++ b/app/views/browse/_changeset_details.rhtml @@ -33,24 +33,27 @@ <% end %> - <% if changeset_details.max_lat.nil? or changeset_details.min_lat.nil? or changeset_details.max_lon.nil? or changeset_details.min_lon.nil? %> - + + Bounding box: + <% if changeset_details.max_lat.nil? or changeset_details.min_lat.nil? or changeset_details.max_lon.nil? or changeset_details.min_lon.nil? %> No bounding box has been stored for this changeset. - - <% else %> - - - - - - - - - - - -
Max Latitude: <%= changeset_details.max_lat/GeoRecord::SCALE.to_f -%>
Min Longitude: <%= changeset_details.min_lon/GeoRecord::SCALE.to_f -%>Max Longitude: <%= changeset_details.max_lon/GeoRecord::SCALE.to_f -%>
Min Latitude: <%= changeset_details.min_lon/GeoRecord::SCALE.to_f -%>
- <% end %> + <% else %> + + + + + + + + + + + + +
<%= changeset_details.max_lat/GeoRecord::SCALE.to_f -%>
<%= changeset_details.min_lon/GeoRecord::SCALE.to_f -%><%= changeset_details.max_lon/GeoRecord::SCALE.to_f -%>
<%= changeset_details.min_lon/GeoRecord::SCALE.to_f -%>
+ + <% end %> + <% unless @nodes.empty? %>