X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/46e9dcbcc7ba632db77a2137ee0da2a66d77c47b..9189093997610a8f289037d37b683c9fed060ae1:/app/views/trace/list.rhtml?ds=inline
diff --git a/app/views/trace/list.rhtml b/app/views/trace/list.rhtml
index 6ff6b34a6..dc3861a54 100644
--- a/app/views/trace/list.rhtml
+++ b/app/views/trace/list.rhtml
@@ -1,8 +1,27 @@
Public GPS Traces
+
+
+
+ |
<% if @user %>
<%= link_to 'See just your traces', {:controller => 'trace', :action => 'mine'} %>
+<% else %>
+ <%= link_to 'login', {:controller => 'user', :action => 'login'} %> to see just your traces
+<% end %>
+
+
+
+Showing page
+<% if @page > 0 %>
+ <%= link_to '<<<', {:controller => 'trace', :action => 'list', :page => @page-1}, {:title => 'previous page'} %>
<% end %>
+<%= @page %>
+
+<%= link_to '>>>', {:controller => 'trace', :action => 'list', :page => @page+1}, {:title => 'next page'} %>
+
+(<%= 1+(@page * 20)%>-<%= (1+@page) * 20 %>)
+