]> git.openstreetmap.org Git - rails.git/blob - app/views/changeset/list.html.erb
Update title on pushState, closes #33
[rails.git] / app / views / changeset / list.html.erb
1 <% if @edits.present? %>
2   <ol class="changesets">
3     <%= render :partial => 'changeset', :collection => @edits %>
4   </ol>
5   <div class="changeset_more">
6     <%= link_to t('changeset.list.load_more'), url_for(params.merge(:max_id => @edits.last.id - 1)), :class => "button load_more" %>
7     <%= image_tag "searching.gif", :class => "loader", :style => "display: none;" %>
8   </div>
9 <% elsif params[:max_id] %>
10   <h4 class="inner22"><%= t('changeset.list.no_more') %></h4>
11 <% else %>
12   <h4 class="inner22"><%= t('changeset.list.empty') %></h4>
13 <% end %>