Revision 5d484545
Added by Liza Gilman over 6 years ago
app/assets/stylesheets/base.scss | ||
---|---|---|
margin-top: -6px;
|
||
}
|
||
|
||
.audits-pagination {
|
||
background-color: transparent;
|
||
border: none;
|
||
}
|
||
|
||
#interfaceModal {
|
||
.modal-dialog {
|
||
min-width: 1000px;
|
app/views/audits/index.html.erb | ||
---|---|---|
<% title_actions documentation_button('4.1.4Auditing') %>
|
||
<%= render :partial => 'list', :locals =>{:audits => @audits}%>
|
||
|
||
<%= will_paginate_with_info @audits %>
|
||
<%= will_paginate_with_info @audits, {:pagination_classes => "audits-pagination"}%>
|
app/views/common/_pagination.html.erb | ||
---|---|---|
<form
|
||
class='content-view-pf-pagination table-view-pf-pagination paginate' id='pagination'
|
||
data-count=<%= collection.total_entries %> data-per-page=<%= per_page(collection) %>
|
||
onsubmit='return tfm.tools.updateTable(this);'>
|
||
class='col-md-12 <%= options[:pagination_classes] %> content-view-pf-pagination table-view-pf-pagination paginate' id='pagination'
|
||
data-count=<%= collection.total_entries %> data-per-page=<%= per_page(collection) %> >
|
||
<div class='form-group'>
|
||
<%= select_tag('per_page',
|
||
options_for_select(per_page_options,
|
Also available in: Unified diff
Fixes #20705 - display paginations on audits page correctly