{** * templates/frontend/objects/issue_toc.tpl * * Copyright (c) 2014-2018 Simon Fraser University * Copyright (c) 2003-2018 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * @brief View of an Issue which displays a full table of contents. * * @uses $issue Issue The issue * @uses $issueTitle string Title of the issue. May be empty * @uses $issueSeries string Vol/No/Year string for the issue * @uses $issueGalleys array Galleys for the entire issue * @uses $hasAccess bool Can this user access galleys for this context? * @uses $publishedArticles array Lists of articles published in this issue * sorted by section. * @uses $primaryGenreIds array List of file genre ids for primary file types *}
{* Indicate if this is only a preview *} {if !$issue->getPublished()} {include file="frontend/components/notification.tpl" type="warning" messageKey="editor.issues.preview"} {/if} {* Issue introduction area above articles *}
{* Issue cover image *} {assign var=issueCover value=$issue->getLocalizedCoverImageUrl()} {if $issueCover} getBestIssueId()}"> getLocalizedCoverImageAltText() != ''} alt="{$issue->getLocalizedCoverImageAltText()|escape}"{/if}> {/if} {* Description *} {if $issue->hasDescription()}
{$issue->getLocalizedDescription()|strip_unsafe_html}
{/if} {* PUb IDs (eg - DOI) *} {foreach from=$pubIdPlugins item=pubIdPlugin} {assign var=pubId value=$issue->getStoredPubId($pubIdPlugin->getPubIdType())} {if $pubId} {assign var="doiUrl" value=$pubIdPlugin->getResolvingURL($currentJournal->getId(), $pubId)|escape}
{$pubIdPlugin->getPubIdDisplayType()|escape}: {if $doiUrl} {$doiUrl} {else} {$pubId} {/if}
{/if} {/foreach} {* Published date *} {if $issue->getDatePublished()}
{translate key="submissions.published"}: {$issue->getDatePublished()|date_format:$dateFormatShort}
{/if}
{* Full-issue galleys *} {if $issueGalleys}

{translate key="issue.fullIssue"}

{/if} {* Articles *}
{foreach name=sections from=$publishedArticles item=section}
{if $section.articles} {if $section.title}

{$section.title|escape}

{/if}
    {foreach from=$section.articles item=article}
  • {include file="frontend/objects/article_summary.tpl"}
  • {/foreach}
{/if}
{/foreach}