mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 07:33:50 +00:00
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:
@@ -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"]]
|
||||
|
8
Resources/views/Timeline/index.html.twig
Normal file
8
Resources/views/Timeline/index.html.twig
Normal file
@@ -0,0 +1,8 @@
|
||||
<div class="timeline">
|
||||
{% for result in results %}
|
||||
<div>
|
||||
{% include result.template with result.templateArgs %}
|
||||
</div>
|
||||
|
||||
{% endfor %}
|
||||
</div>
|
Reference in New Issue
Block a user