stadtratmonitor/app/views/search/index.html.slim

26 lines
519 B
Text
Raw Normal View History

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
| #{@papers_count} Treffer
2014-11-19 22:33:16 +01:00
.right
2015-04-28 00:49:42 +02:00
/ button.button. TODO: Suche Abbonieren
- 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
'
2015-05-17 19:19:59 +02:00
small = l doc.published_at.to_date
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