{** * templates/rt/suppFileView.tpl * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2003-2015 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Read-only view of supplementary file information. * *} {strip} {assign var="pageTitle" value="article.suppFile"} {include file="rt/header.tpl"} {/strip}

{$article->getLocalizedTitle()|strip_unsafe_html}


{translate key="author.submit.supplementaryFileData"}

{foreach from=$pubIdPlugins item=pubIdPlugin} {if $issue->getPublished()} {assign var=pubId value=$pubIdPlugin->getPubId($suppFile)} {else} {assign var=pubId value=$pubIdPlugin->getPubId($suppFile, true)}{* Preview rather than assign a pubId *} {/if} {if $pubId} {/if} {/foreach}
{translate key="common.title"} {$suppFile->getSuppFileTitle()|escape|default:"—"}
{translate key="author.submit.suppFile.createrOrOwner"} {$suppFile->getSuppFileCreator()|escape|default:"—"}
{translate key="common.subject"} {$suppFile->getSuppFileSubject()|escape|default:"—"}
{translate key="common.type"} {$suppFile->getType()|escape|default:$suppFile->getSuppFileTypeOther()|default:"—"}
{translate key="author.submit.suppFile.briefDescription"} {$suppFile->getSuppFileDescription()|escape|nl2br|default:"—"}
{translate key="common.publisher"} {$suppFile->getSuppFilePublisher()|escape|default:"—"}
{translate key="author.submit.suppFile.contributorOrSponsor"} {$suppFile->getSuppFileSponsor()|escape|default:"—"}
{translate key="common.date"} {$suppFile->getDateCreated()|default:"—"}
{translate key="common.source"} {$suppFile->getSuppFileSource()|escape|default:"—"}
{translate key="common.language"} {$suppFile->getLanguage()|escape|default:"—"}
{$pubIdPlugin->getPubIdFullName()|escape} {$pubIdPlugin->getResolvingURL($currentJournal->getId(), $pubId)|escape}

{translate key="author.submit.supplementaryFileUpload"}

{if $suppFile} {if $suppFile->getRemoteURL()} {else}
{translate key="submission.layout.galleyRemoteURL"} {$suppFile->getRemoteURL()|escape}
{translate key="common.fileName"} getBestSuppFileId($currentJournal)}">{$suppFile->getFileName()|escape}
{translate key="common.originalFileName"} {$suppFile->getOriginalFileName()|escape}
{translate key="common.fileSize"} {$suppFile->getNiceFileSize()}
{translate key="common.dateUploaded"} {$suppFile->getDateUploaded()|date_format:$datetimeFormatShort}
{/if} {else} {translate key="author.submit.suppFile.noFile"} {/if}
{include file="rt/footer.tpl"}