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 1
1
<% if start - 20 >= 0 || start + 20 <= size %>
2
2
<p class ='pagination '>
3
3
<% 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 >
5
5
<% end %>
6
6
<% 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 >
8
8
<% end %>
9
9
<% if start + 20 <= size %>
10
10
<% 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 >
12
12
<% end %>
13
13
<% 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 >
15
15
<% end %>
16
16
</ p >
17
17
<% end %>
You can’t perform that action at this time.
0 commit comments