X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/afe8dd51ece21325eea8a108515b9426764de5b2..3415aa468908abbc4c3c4787acb4ef05a0f73d53:/app/views/changeset/list_bbox.rhtml diff --git a/app/views/changeset/list_bbox.rhtml b/app/views/changeset/list_bbox.rhtml index f1d8633f0..34644e960 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] %>

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

<% if @edits.nil? or @edits.empty? %> @@ -18,21 +18,11 @@ Changsets within the area: <% else %> <%= render :partial => 'changeset_paging_nav' %> - - - - - - - - - - - <%= render :partial => 'changeset', :locals => {:showusername => true}, :collection => @edits unless @edits.nil? %> -
IDSaved atUserCommentArea
- +<%= render :partial => 'changesets' %> <%= render :partial => 'changeset_paging_nav' %> +

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

+ <% end @@ -41,10 +31,11 @@ else %>

No area specified

-

First use the view tab to pan and zoom to an area of interest, then click the history tab

+

First use the view tab to pan and zoom to an area of interest, then click the history tab.

+

Alternatively view all <%= link_to("recent changes", :controller => "browse", :action => "changesets") %>

<% end %>
-
+