X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1f8a68371ad34594cce4aadf5fef229588fd4ddc..329b6faf91745b4b6760d975d8b5574c5ffdb181:/app/views/changeset/list_bbox.rhtml diff --git a/app/views/changeset/list_bbox.rhtml b/app/views/changeset/list_bbox.rhtml index 63e54e11d..e1cf9aedb 100644 --- a/app/views/changeset/list_bbox.rhtml +++ b/app/views/changeset/list_bbox.rhtml @@ -1,16 +1,16 @@

History

<% if @bbox!=nil - lon1 = @bbox[0] - lat1 = @bbox[1] - lon2 = @bbox[2] - lat2 = @bbox[3] + minlon = @bbox[0] + minlat = @bbox[1] + maxlon = @bbox[2] + maxlat = @bbox[3] %>

Changesets within the area: -(<%= format("%0.3f",lat1) -%>,<%= format("%0.3f",lon1) -%>) to -(<%= format("%0.3f",lat2) -%>,<%= format("%0.3f",lon2) -%>) + (<%= format("%0.3f",minlon) -%>,<%= format("%0.3f",minlat) -%>,<%= format("%0.3f",maxlon) -%>,<%= format("%0.3f",maxlat) -%>) +

<% if @edits.nil? or @edits.empty? %> @@ -32,6 +32,9 @@ Changesets within the area: <%= render :partial => 'changeset_paging_nav' %> + +

For all changes everywhere see <%= link_to("Recent Changes", :controller => "browse", :action => "changesets") %>

+ <% end @@ -47,4 +50,4 @@ else end %>
-
+