mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-23 08:03:14 +01:00
33 lines
677 B
Text
33 lines
677 B
Text
div
|
|
= render 'search/form'
|
|
|
|
|
|
- if params[:q].present?
|
|
.row
|
|
.small-4.columns
|
|
= facet_list(@paper_type_facets)
|
|
.small-4.columns.end
|
|
= facet_list(@originator_facets)
|
|
|
|
.clearfix
|
|
- if params[:q].present?
|
|
.left
|
|
| #{@papers.total} Treffer
|
|
.right
|
|
/ button.button. TODO: Suche Abbonieren
|
|
- else
|
|
| #{@papers.total} Dokumente in der Datenbank
|
|
div
|
|
ul.no-bullet
|
|
- @papers.each do |doc|
|
|
li.search-result
|
|
small = doc.paper_type
|
|
'
|
|
small = doc.originator
|
|
'
|
|
small = l doc.published_at.to_date
|
|
= link_to doc.url, target: '_blank' do
|
|
div = doc.name
|
|
|
|
div
|
|
= paginate @papers
|