Last active
December 2, 2019 14:48
-
-
Save paganotoni/9161593f9cf971fe053f797668ea8e56 to your computer and use it in GitHub Desktop.
Page indicator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="pagination-label"> | |
<span class="opacity">Displaying <%= pagination.Offset + 1 %> - <%= pagination.Offset + pagination.CurrentEntriesSize %> of <%= pagination.TotalEntriesSize %> <%= plural %></span> | |
<i class="per-page-separator">|</i> | |
<span class="per-page-<%= paginator.perPage %>"> | |
<a href="<%= basePath %>?per_page=25"><i class="opacity per-page-25-number per-page-option">25</i></a> | |
<a href="<%= basePath %>?per_page=50"><i class="opacity per-page-50-number per-page-option">50</i></a> | |
<a href="<%= basePath %>?per_page=100"><i class="opacity per-page-100-number per-page-option"> 100</i></a> | |
<i class="opacity"><%= plural %> per page.</i> | |
</span> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think:
Should be: