baseline
[omp.pkp.sfu.ca.git] / templates / copyeditor / submission / summary.tpl
blob4e81f16e2a10c0624662cea4d144cde93c518a72
1 {**
2  * summary.tpl
3  *
4  * Copyright (c) 2003-2009 John Willinsky
5  * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
6  *
7  * Subtemplate defining the copyeditor's submission summary table.
8  *
9  * $Id: summary.tpl,v 1.2 2009/07/30 23:16:14 tylerl Exp $
10  *}
11 <div id="submission">
12 <h3>{translate key="manuscript.submission"}</h3>
14 <table width="100%" class="data">
15         <tr>
16                 <td width="20%" class="label">{translate key="monograph.authors"}</td>
17                 <td width="80%">
18                         {url|assign:"url" page="user" op="email" redirectUrl=$currentUrl to=$submission->getAuthorEmails() subject=$submission->getLocalizedTitle() monographId=$submission->getMonographId()}
19                         {$submission->getAuthorString()|escape} {icon name="mail" url=$url}
20                 </td>
21         </tr>
22         <tr>
23                 <td class="label">{translate key="monograph.title"}</td>
24                 <td>{$submission->getLocalizedTitle()|strip_unsafe_html}</td>
25         </tr>
26         <tr>
27                 <td class="label">{translate key="submissions.arrangement"}</td>
28                 <td>{$submission->getArrangementTitle()|escape}</td>
29         </tr>
30         <tr>
31                 <td class="label">{translate key="user.role.editor"}</td>
32                 <td>
33                         {assign var=editAssignments value=$submission->getEditAssignments()}
34                         {foreach from=$editAssignments item=editAssignment}
35                                 {assign var=emailString value="`$editAssignment->getEditorFullName()` <`$editAssignment->getEditorEmail()`>"}
36                                 {url|assign:"url" page="user" op="email" redirectUrl=$currentUrl to=$emailString|to_array subject=$submission->getLocalizedTitle()|strip_tags monographId=$submission->getMonographId()}
37                                 {$editAssignment->getEditorFullName()|escape} {icon name="mail" url=$url}
38                                 {if !$editAssignment->getCanEdit() || !$editAssignment->getCanReview()}
39                                         {if $editAssignment->getCanEdit()}
40                                                 ({translate key="submission.editing"})
41                                         {else}
42                                                 ({translate key="submission.review"})
43                                         {/if}
44                                 {/if}
45                                 <br/>
46                         {foreachelse}
47                                 {translate key="common.noneAssigned"}
48                         {/foreach}
49                 </td>
50         </tr>
51 </table>
52 </div>