Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 27 additions & 10 deletions templates/frontend/objects/article_summary.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*}
{assign var=publication value=$article->getCurrentPublication()}
{assign var=articlePath value=$article->getBestId($currentJournal)}
{if (!$section.hideAuthor && $article->getHideAuthor() == \APP\submission\Submission::AUTHOR_TOC_DEFAULT) || $article->getHideAuthor() == \APP\submission\Submission::AUTHOR_TOC_SHOW}
{if (!$section.ShowAuthor && $article->getShowAuthor() == \APP\submission\Submission::AUTHOR_TOC_DEFAULT) || $article->getShowAuthor() == \APP\submission\Submission::AUTHOR_TOC_SHOW}
{assign var="showAuthor" value=true}
{/if}

Expand Down Expand Up @@ -45,15 +45,32 @@

{if $showAuthor || $article->getPages()}

{if $showAuthor}
<div class="meta">
{if $showAuthor}
<div class="authors">
{$article->getCurrentPublication()->getAuthorString($authorUserGroups)|escape}
</div>
{/if}
</div>
{/if}
{if $article->getAuthors()}
<div class="authors">

{foreach from=$article->getAuthors() item=author}

<div class="consent">
<b>{$author->getFullName()|escape},</b>
{if $author->getLocalizedAffiliation()}
&nbsp;{$author->getLocalizedAffiliation()|escape},
{/if}
{$authorAffiliation|escape}{if $author->getCountry()}
&nbsp;{$author->getCountryLocalized()|escape}{/if}

</div>
{if $author->getOrcid()}
<div class="orcid">
{$orcidIcon}
<a href="{$author->getOrcid()|escape}" target="_blank">
{$author->getOrcid()|escape}
</a>
</div>
{/if}
{/foreach}

</div>
{/if}

{* Page numbers for this article *}
{if $article->getPages()}
Expand Down