Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F462158
_paginator.html.erb
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, May 18, 8:26 PM
Size
875 B
Mime Type
text/plain
Expires
Tue, May 20, 8:26 PM (23 h, 29 m)
Engine
blob
Format
Raw Data
Handle
220540
Attached To
rARCHIVING archiving
_paginator.html.erb
View Options
<%#
The container tag
- available local variables
current_page: a page object for the currently displayed page
total_pages: total number of pages
per_page: number of items to fetch per page
remote: data-remote
paginator: the paginator that renders the pagination tags inside
-%>
<%=
paginator
.
render
do
-%>
<nav>
<ul class="pagination">
<%=
first_page_tag
unless
current_page
.
first?
%>
<%=
prev_page_tag
unless
current_page
.
first?
%>
<%
each_page
do
|
page
|
-%>
<%
if
page
.
left_outer?
||
page
.
right_outer?
||
page
.
inside_window?
-%>
<%=
page_tag
page
%>
<%
elsif
!
page
.
was_truncated?
-%>
<%=
gap_tag
%>
<%
end
-%>
<%
end
-%>
<%=
next_page_tag
unless
current_page
.
last?
%>
<%=
last_page_tag
unless
current_page
.
last?
%>
</ul>
</nav>
<%
end
-%>
Event Timeline
Log In to Comment