{** * templates/submission/comment/comment.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}
{translate key=$comment->getRoleName()}
{$comment->getDatePosted()|date_format:$datetimeFormatShort}
|
{if $comment->getAuthorId() eq $userId and not $isLocked}
getId()}" class="action">{translate key="common.edit"} getId()}" onclick="return confirm('{translate|escape:"jsparam" key="submission.comments.confirmDelete"}')" class="action">{translate key="common.delete"}
{/if}
{if $comment->getCommentTitle() neq ""}
{translate key="submission.comments.subject"}: {$comment->getCommentTitle()|escape}
{/if}
{$comment->getComments()|strip_unsafe_html|nl2br}
|
{translate key="submission.comments.noComments"} |