Fix pagination in archive back end

This commit is contained in:
chris 2013-03-18 21:53:31 +08:00
parent aacfcf1997
commit f29ad27b56
1 changed files with 2 additions and 7 deletions

View File

@ -15,14 +15,9 @@
</tbody>
</table>
<div id="archive_pagination">
<%= paginate @archive_files %>
</div>
<div class="form-actions form-fixed pagination-right">
<%= link_to content_tag(:i, nil, :class => 'icon-plus icon-white') + t(:add), new_panel_archive_back_end_archive_file_path, :class => 'btn btn-primary pull-right' if (is_manager? rescue nil) %>
<div id="web_link_pagination" class="paginationFixed">
<div id="archive_file_pagination" class="paginationFixed">
<%= paginate @archive_files, :params => {:direction => params[:direction], :sort => params[:sort], :filter => @filter, :new_filter => nil} %>
</div>
</div>