mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-20 07:11:33 +02:00
Add pagination via kaminari
This commit is contained in:
parent
f71c083722
commit
40eeac2021
13 changed files with 57 additions and 5 deletions
|
@ -4,7 +4,7 @@ div
|
|||
.clearfix
|
||||
- if @show_search_result
|
||||
.left
|
||||
| #{@papers.size} Treffer
|
||||
| #{@papers.total} Treffer
|
||||
.right
|
||||
button.button. TODO: Suche Abbonieren
|
||||
div
|
||||
|
@ -18,3 +18,6 @@ div
|
|||
small = doc.published_at
|
||||
= link_to doc.url, target: '_blank' do
|
||||
div = doc.name
|
||||
|
||||
div
|
||||
= paginate @papers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue