]> git.openstreetmap.org Git - rails.git/blob - app/views/changeset/list_bbox.rhtml
Fix a few typos
[rails.git] / app / views / changeset / list_bbox.rhtml
1 <h1>History</h1>
2 <%
3 if @bbox!=nil
4         minlon = @bbox[0] 
5         minlat = @bbox[1] 
6         maxlon = @bbox[2]
7         maxlat = @bbox[3] 
8
9         %>
10 <p>
11 Changesets within the area: 
12       (<a href='/?minlon=<%= minlon %>&minlat=<%= minlat %>&maxlon=<%= maxlon %>&maxlat=<%= maxlat %>&box=yes' title='show area box'><%= format("%0.3f",minlon) -%>,<%= format("%0.3f",minlat) -%>,<%= format("%0.3f",maxlon) -%>,<%= format("%0.3f",maxlat) -%></a>) 
13
14 </p>
15
16 <%      if @edits.nil? or @edits.empty? %>
17 <p><b>No changesets</b></p>
18 <%      else %>
19
20 <%= render :partial => 'changeset_paging_nav' %>
21 <%= render :partial => 'changesets' %>
22 <%= render :partial => 'changeset_paging_nav' %>
23
24 <p>For all changes everywhere see <%=  link_to("Recent Changes", :controller => "browse", :action => "changesets") %> </p>
25
26 <%
27         end
28
29 else 
30         #bbox is nil. happens if the user surfs to this page directly.
31 %>
32
33 <p>No area specified</p>
34 <p>First use the <a href="/" title="view the map">view tab</a> to pan and zoom to an area of interest, then click the history tab.</p>
35 <p>Alternatively view all <%=  link_to("recent changes", :controller => "browse", :action => "changesets") %> </p>
36
37 <%
38 end
39 %>
40 <br>
41