{** * templates/submission/comment/peerReviewComment.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. * * Form to enter comments. * *} {strip} {include file="submission/comment/header.tpl"} {/strip}
{if $showReviewLetters and $comment->getRoleId() eq $reviewer}
{assign var="start" value="A"|ord}
{assign var="reviewId" value=$comment->getAssocId()}
{translate key=$comment->getRoleName()} {$reviewLetters[$reviewId]+$start|chr}
{else}
{translate key=$comment->getRoleName()}
{/if}
{$comment->getDatePosted()|date_format:$datetimeFormatShort}
{if $comment->getViewable()}
{translate key="submission.comments.canShareWithAuthor"}
{else}
{translate key="submission.comments.cannotShareWithAuthor"}
{/if}
|
{if $comment->getAuthorId() eq $userId and not $isLocked}
getId() reviewId=$reviewId}{else}{url op="editComment" path=$articleId|to_array:$comment->getId()}{/if}" class="action">{translate key="common.edit"} getId() reviewId=$reviewId}{else}{url op="deleteComment" path=$articleId|to_array:$comment->getId()}{/if}" onclick="return confirm('{translate|escape:"jsparam" key="submission.comments.confirmDelete"}')" class="action">{translate key="common.delete"}
{/if}
{if $comment->getCommentTitle()}
{translate key="submission.comments.subject"}: {$comment->getCommentTitle()|escape}
{/if}
{$comment->getComments()|strip_unsafe_html|nl2br}
|
{translate key="submission.comments.noReviews"} |