Commit 15fcbe73 authored by Stefan Busemann's avatar Stefan Busemann
Browse files

[FEATURE] Add multiple contributors to news article

see https://gitlab.typo3.org/t3o/typo3.org/-/issues/499
parent 4e3a1959
......@@ -179,6 +179,22 @@
</n:renderMedia>
<f:if condition="{newsItem.contributors}">
<div class="news-list__item-author d-block small">
<b>Additional contributors for this article</b>
<ul>
<f:for each="{newsItem.contributors}" as="contributor">
<li>
<f:translate extensionName="t3org_layout" key="tx_t3org_layout.news.contributors.roles.{contributor.role}">
role
</f:translate>
:
{contributor.authorFeUser.name}
</li>
</f:for>
</ul>
</div>
</f:if>
<f:if condition="{settings.backPid}">
<!-- Link Back -->
<f:link.page class="btn btn-default" pageUid="{settings.backPid}">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment