Initial commit
[TYPO3CMS/Extensions/roq_newsevent.git] / Resources / Private / Partials / Detail / MediaContainer.html
1 <f:if condition="{media}">
2 <!-- media files -->
3 <div class="news-img-wrap">
4 <f:for each="{media}" as="mediaElement">
5 <f:if condition="{mediaElement.type} == 0">
6 <f:render partial="Detail/MediaImage" arguments="{mediaElement: mediaElement, settings:settings}"/>
7 </f:if>
8 <f:if condition="{mediaElement.type} == 1">
9 <f:render partial="Detail/MediaVideo" arguments="{mediaElement: mediaElement, settings:settings}"/>
10 </f:if>
11 <f:if condition="{mediaElement.type} == 2">
12 <f:render partial="Detail/MediaHtml" arguments="{mediaElement: mediaElement, settings:settings}"/>
13 </f:if>
14 <f:if condition="{mediaElement.type} == 3">
15 <f:render partial="Detail/MediaDam" arguments="{mediaElement: mediaElement, settings:settings}"/>
16 </f:if>
17 </f:for>
18 </div>
19 </f:if>
20
21