Issue Task Closed

#75333FSC "bullets" - select bullets type using partials and not f:switch

Riccardo De Contardi 03/31/16, 11:57 updated 10/17/17, 23:32

Description

I’ve noticed that on sysext/fluid_styled_content/Resources/Private/Templates/Bullets.html the various bullets types are chosen using an <f>.<br>I am wondering if it could be better to use the same system used for Menu, that is using the values of the field “bullets_type” to select different partials, this way:</f>

the template would become:

<f:section name="content">
    <f:render partial="Bullets/Type-{data.bullets_type}" arguments="{_all}" />
</f:section>

and then Type-0.html, Type-1.html and Type-2.html partials must be created.

I hope it is clear enough.

Thank you.

Reviews 1