File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11<% if start - 20 >= 0 || start + 20 <= size %>
22 <p class ='pagination '>
33 <% if start - 20 >= 0 %>
4- < a href ="<%= current_page %> ?start=0 " class ='less separated-right '> ««</ a >
4+ < a href ="<%= current_page %> ?start=0 " class ='less separated-right '> ««</ a >
55 <% end %>
66 <% if start - 20 >= 0 %>
7- < a href ="<%= current_page %> ?start= <%= start - 20 %> " class ='less '> « less</ a >
7+ < a href ="<%= current_page %> ?start= <%= start - 20 %> " class ='less '> « less</ a >
88 <% end %>
99 <% if start + 20 <= size %>
1010 <% page = ( size % 20 == 0 ? ( size -20 ) : ( ( size ) - ( size % 20 ) ) ) %>
11- < a href ="<%= current_page %> ?start= <%= page %> " class ='more separated-left '> »»</ a >
11+ < a href ="<%= current_page %> ?start= <%= page %> " class ='more separated-left '> »»</ a >
1212 <% end %>
1313 <% if start + 20 <= size %>
14- < a href ="<%= current_page %> ?start= <%= start + 20 %> " class ='more '> more »</ a >
14+ < a href ="<%= current_page %> ?start= <%= start + 20 %> " class ='more '> more »</ a >
1515 <% end %>
1616</ p >
1717<% end %>
You can’t perform that action at this time.
0 commit comments