Commit b31504cc authored by Thomas Löffler's avatar Thomas Löffler

Merge branch...

Merge branch '639-adjust-news-template-for-multiple-contributors-and-their-role-to-news-articles' into 'main'

Resolve "Adjust news template for multiple contributors and their role to news articles"

Closes #639

See merge request !593
parents 4e3a1959 15fcbe73
......@@ -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}">
......
Markdown is supported
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