2014-11-19 22:33:16 +01:00
|
|
|
div
|
2015-04-27 22:35:11 +02:00
|
|
|
= render 'search/form'
|
2014-11-19 21:54:36 +01:00
|
|
|
|
2015-06-22 20:38:13 +02:00
|
|
|
|
2015-06-22 21:33:40 +02:00
|
|
|
- if false # params[:q].present?
|
2015-06-22 20:38:13 +02:00
|
|
|
.row
|
|
|
|
.small-4.columns
|
|
|
|
= facet_list(@paper_type_facets)
|
|
|
|
.small-4.columns.end
|
|
|
|
= facet_list(@originator_facets)
|
2015-06-13 21:18:55 +02:00
|
|
|
|
2014-11-19 22:33:16 +01:00
|
|
|
.clearfix
|
2015-06-01 23:53:45 +02:00
|
|
|
- if params[:q].present?
|
2014-11-19 22:33:16 +01:00
|
|
|
.left
|
2015-06-01 23:53:45 +02:00
|
|
|
| #{@papers.total} Treffer
|
2014-11-19 22:33:16 +01:00
|
|
|
.right
|
2015-04-28 00:49:42 +02:00
|
|
|
/ button.button. TODO: Suche Abbonieren
|
2015-04-27 23:25:14 +02:00
|
|
|
- else
|
2015-06-01 23:53:45 +02:00
|
|
|
| #{@papers.total} Dokumente in der Datenbank
|
2014-11-19 22:33:16 +01:00
|
|
|
div
|
2015-04-27 22:35:11 +02:00
|
|
|
ul.no-bullet
|
|
|
|
- @papers.each do |doc|
|
|
|
|
li.search-result
|
|
|
|
small = doc.paper_type
|
|
|
|
'
|
|
|
|
small = doc.originator
|
|
|
|
'
|
2015-05-17 19:19:59 +02:00
|
|
|
small = l doc.published_at.to_date
|
2015-10-05 21:13:21 +02:00
|
|
|
'
|
|
|
|
small = doc._score
|
2015-04-27 22:35:11 +02:00
|
|
|
= link_to doc.url, target: '_blank' do
|
|
|
|
div = doc.name
|
2015-04-27 23:14:48 +02:00
|
|
|
|
|
|
|
div
|
|
|
|
= paginate @papers
|