X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3af16f6337b52546297e7e09a1aba9b0e1df7e15..097449d8e190fe5c19aea5af816d25241b3dd591:/app/views/traces/index.html.erb
diff --git a/app/views/traces/index.html.erb b/app/views/traces/index.html.erb
index 9db246bd4..b38436c0a 100644
--- a/app/views/traces/index.html.erb
+++ b/app/views/traces/index.html.erb
@@ -1,5 +1,5 @@
<% content_for :heading do %>
-
<%= h(@title) %>
+ <%= @title %>
- <%= t(".description") %>
- <%= rss_link_to :action => "georss", :display_name => @display_name, :tag => @tag %>
@@ -23,23 +23,15 @@
<% end %>
<% if @traces.size > 0 %>
- <%= render :partial => "trace_paging_nav" %>
+ <%= render "trace_paging_nav", :page => @page, :page_size => @page_size, :traces => @traces, :params => @params %>
-
-
-
- |
- |
-
-
+
- <%= render :partial => "trace", :collection => @traces unless @traces.nil? %>
+ <%= render @traces %>
- <%= render :partial => "trace_paging_nav" %>
+ <%= render "trace_paging_nav", :page => @page, :page_size => @page_size, :traces => @traces, :params => @params %>
<% else %>
<%= t ".empty_html", :upload_link => new_trace_path %>
<% end %>
-
-<%= render :partial => "trace_optionals" %>