{** * templates/submission/suppFile/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"} {assign var="pageCrumbTitle" value="submission.supplementaryFiles"} {include file="common/header.tpl"} {/strip}

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

{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:"—"}

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

{if $suppFile}
{translate key="common.fileName"} getFileId()}">{$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}
{else} {translate key="author.submit.suppFile.noFile"} {/if}
{include file="common/footer.tpl"}