13 lines
553 B
Text
13 lines
553 B
Text
<% if @edits.present? %>
|
|
<ol class="changesets">
|
|
<%= render :partial => 'changeset', :collection => @edits %>
|
|
</ol>
|
|
<div class="changeset_more">
|
|
<%= link_to t('changeset.list.load_more'), url_for(params.merge(:max_id => @edits.last.id - 1)), :class => "button load_more" %>
|
|
<%= image_tag "searching.gif", :class => "loader", :style => "display: none;" %>
|
|
</div>
|
|
<% elsif params[:max_id] %>
|
|
<h4 class="inner22"><%= t('changeset.list.no_more') %></h4>
|
|
<% else %>
|
|
<h4 class="inner22"><%= t('changeset.list.empty') %></h4>
|
|
<% end %>
|