{** * templates/frontend/objects/article_summary.tpl * * Copyright (c) 2014-2021 Simon Fraser University * Copyright (c) 2003-2021 John Willinsky * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING. * * @brief View of an Article summary which is shown within a list of articles. * * @uses $article Article The article * @uses $authorUserGroups Traversible The set of author user groups * @uses $hasAccess bool Can this user access galleys for this context? The * context may be an issue or an article * @uses $showDatePublished bool Show the date this article was published? * @uses $hideGalleys bool Hide the article galleys for this article? * @uses $primaryGenreIds array List of file genre ids for primary file types * @uses $heading string HTML heading element, default: h2 *} {assign var=publication value=$article->getCurrentPublication()} {assign var=articlePath value=$publication->getData('urlPath')|default:$article->getId()} {if !$heading} {assign var="heading" value="h2"} {/if} {if (!$section.hideAuthor && $publication->getData('hideAuthor') == \APP\submission\Submission::AUTHOR_TOC_DEFAULT) || $publication->getData('hideAuthor') == \APP\submission\Submission::AUTHOR_TOC_SHOW} {assign var="showAuthor" value=true} {/if}