\begin{document}
\newpage
% Page header
\markboth{Author et al.}{Short title}
% Title
\title{ Review of \enquote{$reviewTemplate.getTitle()}}
%Authors, affiliations address.
\dedication{$reviewTemplate.getReviewersEnumerated()}
\maketitle
\begin{tabularx}{\textwidth}{ |G|X| }
\hline
Version & $reviewTemplate.getVersion().getTime() \\
\hline
Date & \today \\
\hline
Author \newline \vbox to 2cm { \vfil }
\textit{(Date and Signature)} & $reviewTemplate.getAuthor().getDisplayName() \\
\hline
Approved by \newline \vbox to 2cm { \vfil }
\textit{(Date and Signature)} & \\
\hline
\end{tabularx}
\thispagestyle {empty}
\newpage
%Table of Contents
\newpage
\renewcommand*\contentsname{Table of Contents}
\tableofcontents
\thispagestyle {empty}
\newpage
\setcounter{page}{1}
% Heading 1
\section{Summary}
Review start date: $reviewTemplate.getStartDate()\\
Latest svn qualification branch revision: $reviewTemplate.getLatestRevision()\\
#if ( !$reviewTemplate.getDescription().isEmpty() )
\subsection{Objectives}
$reviewTemplate.getDescription()
#end
#if ( !$reviewTemplate.getReviewers().isEmpty() )
\subsection{Reviewer}
\begin{itemize}
#foreach( $reviewer in $reviewTemplate.getReviewers())
\item{$reviewer.getDisplayName()}
#end
\end{itemize}
#end
\section{Reviewed Changes}
#foreach( $reviewItem in $reviewTemplate.getReviewItems())
\subsection{$reviewItem.getToPath().replaceAll("branches/([^/]+/)", "").replaceAll("/", "\\slash ").replaceAll("\$", "\\\$")}
From revision $reviewItem.getFromRevision() to revision $reviewItem.getToRevision()\\
Commited by: $reviewItem.getAuthorName()\\
Commit Type: $reviewItem.getCommitType()\\
Commit Date: $reviewItem.getCommitDate()\\
#if ( !$reviewItem.getParticipants().isEmpty() )
Reviewer:
\begin{itemize}
#foreach( $participantStatus in $reviewItem.getParticipants())
#set($completed = "#if($participantStatus.isCompleted())completed#{else}uncomplete#end")
\item{$participantStatus.getUser().getDisplayName() ($completed)}
#end
\end{itemize}
#end
#set ($versionedComments = $reviewTemplate.getVersionedCommentsRendered($reviewItem.getPermId().getId()))
#if ( !$versionedComments.isEmpty() )
Comments
$versionedComments
#end
#end
\section{General Comments}
$reviewTemplate.getGeneralCommentsRendered()
\end{document}
Spelling error report
The following text will be sent to our editors: