<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
      data-namespace-typo3-fluid="true">

<div style="padding:10px;">
    <strong>Testimonial Slider:</strong>
    <f:if condition="{data.ts_headline}">
        <br>{data.ts_headline -> f:format.crop(maxCharacters: 50)}
    </f:if>
    <f:if condition="{data.ts_items}">
        <br><small>Testimonials:
        <f:for each="{data.ts_items}" as="item" iteration="iter">
            {item.item_author}<f:if condition="!{iter.isLast}">, </f:if>
        </f:for>
        </small>
    </f:if>
</div>

</html>
