Paginator can handle both screenshots and packages now
This commit is contained in:
parent
109354dbf6
commit
f323f94582
3 changed files with 11 additions and 6 deletions
|
|
@ -2,7 +2,7 @@
|
|||
.grid-x
|
||||
.small-6.medium-8.large-9.cell
|
||||
// Paginator
|
||||
= render 'packages/paginator'
|
||||
= render(partial: 'packages/paginator', locals: {items: @packages})
|
||||
|
||||
.small-6.medium-4.large-3.cell
|
||||
// Search form
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
= pkg.long_description_first_paragraph or 'Sorry - no description available.'
|
||||
|
||||
// Second paginator at the bottom so the user does not have to scroll up again
|
||||
= render 'packages/paginator'
|
||||
= render(partial: 'packages/paginator', locals: {items: @packages})
|
||||
|
||||
- else
|
||||
= render 'packages/noresults'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue