X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6290405336817cd282ad5062ce3fc3774ccf61e4..4470cb88e0556041452719a3b4d7396cb3e3ec4a:/app/views/traces/index.html.erb diff --git a/app/views/traces/index.html.erb b/app/views/traces/index.html.erb index 6e27ac7e4..dfa5f03de 100644 --- a/app/views/traces/index.html.erb +++ b/app/views/traces/index.html.erb @@ -16,8 +16,8 @@
- <%= link_to({ :action => :georss, :display_name => @target_user&.display_name, :tag => params[:tag] }, - { :class => "btn btn-secondary btn-sm" }) do %> + <%= link_to traces_feed_path(:display_name => @target_user&.display_name, :tag => params[:tag]), + :class => "btn btn-secondary btn-sm" do %> @@ -56,7 +56,8 @@ <% end %> <% end %> @@ -65,27 +66,11 @@ <% end %> <% content_for :auto_discovery_link_tag do %> - <%= auto_discovery_link_tag :rss, :action => "georss", :display_name => @target_user&.display_name, :tag => params[:tag] %> + <%= auto_discovery_link_tag :rss, traces_feed_path(:display_name => @target_user&.display_name, :tag => params[:tag]) %> <% end %> <% if @traces.size > 0 %> - <%= render "shared/pagination", - :newer_key => "traces.trace_paging_nav.newer", - :older_key => "traces.trace_paging_nav.older", - :newer_id => @newer_traces_id, - :older_id => @older_traces_id %> - - - - <%= render @traces %> - -
- - <%= render "shared/pagination", - :newer_key => "traces.trace_paging_nav.newer", - :older_key => "traces.trace_paging_nav.older", - :newer_id => @newer_traces_id, - :older_id => @older_traces_id %> + <%= render :partial => "page" %> <% else %>

<%= t ".empty_title" %>

<%= t ".empty_upload_html", :upload_link => link_to(t(".upload_new"), new_trace_path),