diff --git a/templates/frontend/objects/article_details.tpl b/templates/frontend/objects/article_details.tpl index 3277edf..cd30fdc 100644 --- a/templates/frontend/objects/article_details.tpl +++ b/templates/frontend/objects/article_details.tpl @@ -53,7 +53,7 @@

- {$article->getLocalizedFullTitle()|escape} + {$publication->getLocalizedFullTitle()|escape}

{if $section} @@ -88,9 +88,9 @@ {/if} - {if $article->getAuthors()} + {if $publication->getData('authors')} {* Authors *} - {assign var="authorCount" value=$article->getAuthors()|@count} + {assign var="authorCount" value=$publication->getData('authors')|@count} {assign var="authorBioIndex" value=0}
- {foreach from=$article->getAuthors() item=author key=authorKey} + {foreach from=$publication->getData('authors') item=author key=authorKey}
{$author->getFullName()|escape} @@ -175,13 +175,22 @@
{* Article/Issue cover image *} - {if $article->getLocalizedCoverImage() || $issue->getLocalizedCoverImage()} + {if $publication->getLocalizedData('coverImage') || ($issue && $issue->getLocalizedCoverImage())}
- {if $article->getLocalizedCoverImage()} - getLocalizedCoverImageAltText()} alt="{$article->getLocalizedCoverImageAltText()|escape}"{/if}> + {if $publication->getLocalizedData('coverImage')} + {assign var="coverImage" value=$publication->getLocalizedData('coverImage')} + {$coverImage.altText|escape|default:''} {else} getBestIssueId()}"> - getLocalizedCoverImageAltText()} alt="{$issue->getLocalizedCoverImageAltText()|escape}"{/if}> + {$issue->getLocalizedCoverImageAltText()|escape|default:''} {/if}
@@ -329,10 +338,10 @@
{* Abstract *} - {if $article->getLocalizedAbstract()} + {if $publication->getLocalizedData('abstract')}

{translate key="article.abstract"}

- {$article->getLocalizedAbstract()|strip_unsafe_html} + {$publication->getLocalizedData('abstract')|strip_unsafe_html}
{/if} @@ -372,7 +381,7 @@ {foreach from=$parsedCitations item=parsedCitation}

{$parsedCitation->getCitationWithLinks()|strip_unsafe_html}

{/foreach} - {elseif $article->getCitations()} + {else} {$publication->getData('citationsRaw')|nl2br} {/if}