Initial commit - Typo3 11.5.41
This commit is contained in:
17
web/ext/news/Partials/Detail/MediaContainer.html
Normal file
17
web/ext/news/Partials/Detail/MediaContainer.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<f:if condition="{media}">
|
||||
<!-- media files -->
|
||||
<div class="news-img-wrap">
|
||||
<f:for each="{media}" as="mediaElement">
|
||||
<div class="outer">
|
||||
<f:if condition="{mediaElement.type} == 0">
|
||||
<f:render partial="Detail/MediaImage" arguments="{mediaElement: mediaElement, settings:settings}" />
|
||||
</f:if>
|
||||
<f:if condition="{mediaElement.type} == 1">
|
||||
<f:render partial="Detail/MediaVideo" arguments="{mediaElement: mediaElement, settings:settings}" />
|
||||
</f:if>
|
||||
</div>
|
||||
</f:for>
|
||||
</div>
|
||||
</f:if>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user