stephpy/TimelineBundle — pull request #21 by Azer- (2012-08-21 18:34:02+00:00)
Title: Added contextual timeline twig extention

Hello !

I just added a contextualized timeline renderer with a more short name.

I thought it could be interesting to have different templates for one action.

It could be a 'plain' action with html and stuff and other actions more light to display like for short lists ect.

To use it :

Either you could ``` {{ timeline(timelineAction, 'context', 'format') }} ``` > TimelineDir:action.format.twig
Or same as before using ``` {{ timeline(timelineAction) }} ``` >> TimelineDir:action.html.twig