Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

article_summary.tpl #232

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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