19 lines
536 B
Plaintext
19 lines
536 B
Plaintext
|
<div class="ContentFooter">
|
||
|
<div class="u-inner ContentFooter-inner ContentFooter-inner--paginationOnly">
|
||
|
<div class="js-content-footer"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<% content_for(:js) do %>
|
||
|
<script type="text/javascript">
|
||
|
var paginationModelAttrs = {
|
||
|
current_page: <%= @current_page %>,
|
||
|
total_count: <%= @total_count %>,
|
||
|
per_page: <%= @per_page %>,
|
||
|
url_to: function(page) {
|
||
|
return '<%= @numbered_page_url %>'.replace('<%= @page_number_placeholder %>', page);
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
<% end %>
|