Show the number of all papers on homepage

This commit is contained in:
Andreas Haller 2015-04-27 23:25:14 +02:00
parent 40eeac2021
commit 553c1e653c
2 changed files with 8 additions and 4 deletions

View file

@ -4,9 +4,11 @@ div
.clearfix
- if @show_search_result
.left
| #{@papers.total} Treffer
| #{@papers_count} Treffer
.right
button.button. TODO: Suche Abbonieren
- else
| #{@papers_count} Dokumente in der Datenbank
div
ul.no-bullet
- @papers.each do |doc|