]> git.openstreetmap.org Git - rails.git/blob - app/views/changesets/history.html.erb
Move sidebar pagination to helpers
[rails.git] / app / views / changesets / history.html.erb
1 <% content_for :auto_discovery_link_tag do -%>
2   <% unless params[:friends] or params[:nearby] -%>
3     <%= auto_discovery_link_tag :atom, @params.to_h.merge(:max_id => nil, :xhr => nil, :action => :feed) %>
4   <% end -%>
5 <% end -%>
6
7 <% set_title(changeset_index_title(params, current_user))
8    @heading = if params[:display_name]
9                 t("changesets.index.title_user_link_html", :user_link => link_to(params[:display_name], user_path(:display_name => params[:display_name])))
10               else
11                 @title
12               end %>
13
14 <%= render "sidebar_header", :title => @heading %>
15
16 <div class="changesets mx-n3">
17   <div class="text-center loader">
18     <div class="spinner-border" role="status">
19       <span class="visually-hidden"><%= t("browse.start_rjs.loading") %></span>
20     </div>
21   </div>
22 </div>