mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-20 15:11:35 +02:00
#12 - fixed rspec tests and add some more tests
This commit is contained in:
parent
52f93fcb42
commit
c041ae596f
3 changed files with 94 additions and 26 deletions
|
@ -13,10 +13,11 @@ div
|
|||
li.search-result
|
||||
article
|
||||
h4 = doc.name
|
||||
ul
|
||||
- @sub[doc.reference].each do |sub|
|
||||
li class="#{'current' if sub.reference == doc.reference}"
|
||||
div = link_to "#{l sub.published_at.to_date}: #{sub.paper_type} von #{sub.originator.join(", ")}", sub.url, target: '_blank'
|
||||
- if @sub[doc.reference]
|
||||
ul
|
||||
- @sub[doc.reference].each do |sub|
|
||||
li class="#{'current' if sub.reference == doc.reference}"
|
||||
div = link_to "#{l sub.published_at.to_date}: #{sub.paper_type} von #{sub.originator.join(", ")}", sub.url, target: '_blank'
|
||||
|
||||
|
||||
div#pagination
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue