first implementation of timeline

refs #224

Some parts have evolved from issue, we should rethink some parts of the design
This commit is contained in:
2015-02-11 00:37:05 +01:00
parent 3f4132e23d
commit 799893316d
6 changed files with 284 additions and 0 deletions

View File

@@ -79,3 +79,10 @@ services:
chill.main.search_provider:
class: Chill\MainBundle\Search\SearchProvider
chill.main.timeline_builder:
class: Chill\MainBundle\Timeline\TimelineBuilder
arguments:
- "@doctrine.orm.entity_manager"
calls:
- [ setContainer, ["@service_container"]]

View File

@@ -0,0 +1,8 @@
<div class="timeline">
{% for result in results %}
<div>
{% include result.template with result.templateArgs %}
</div>
{% endfor %}
</div>