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
|
|
|
|
2014-11-19 22:33:16 +01:00
|
|
|
.clearfix
|
2015-04-27 22:35:11 +02:00
|
|
|
- if @show_search_result
|
2014-11-19 22:33:16 +01:00
|
|
|
.left
|
2015-04-27 23:25:14 +02:00
|
|
|
| #{@papers_count} Treffer
|
2014-11-19 22:33:16 +01:00
|
|
|
.right
|
|
|
|
button.button. TODO: Suche Abbonieren
|
2015-04-27 23:25:14 +02:00
|
|
|
- else
|
|
|
|
| #{@papers_count} 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
|
|
|
|
'
|
|
|
|
small = doc.published_at
|
|
|
|
= link_to doc.url, target: '_blank' do
|
|
|
|
div = doc.name
|
2015-04-27 23:14:48 +02:00
|
|
|
|
|
|
|
div
|
|
|
|
= paginate @papers
|