Fix pagination in archive back end
This commit is contained in:
parent
aacfcf1997
commit
f29ad27b56
|
@ -15,14 +15,9 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<div id="archive_pagination">
|
|
||||||
<%= paginate @archive_files %>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="form-actions form-fixed pagination-right">
|
<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) %>
|
<%= 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} %>
|
<%= paginate @archive_files, :params => {:direction => params[:direction], :sort => params[:sort], :filter => @filter, :new_filter => nil} %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
Reference in New Issue