forked from pkp/pkp-lib
-
Notifications
You must be signed in to change notification settings - Fork 1
/
masthead.tpl
55 lines (51 loc) · 1.76 KB
/
masthead.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{**
* templates/frontend/pages/masthed.tpl
*
* Copyright (c) 2024 Simon Fraser University
* Copyright (c) 2024 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @brief Display journal's masthead page.
*
*}
{include file="frontend/components/header.tpl" pageTitle="common.masthead"}
<div class="page page_masthead">
{include file="frontend/components/breadcrumbs.tpl" currentTitleKey="common.masthead"}
<h1>{translate key="common.masthead"}</h1>
{foreach from=$mastheadRoles item="mastheadRole"}
{if $mastheadRole->getRoleId() != \PKP\security\Role::ROLE_ID_REVIEWER}
{if array_key_exists($mastheadRole->getId(), $mastheadUsers)}
<h2>{$mastheadRole->getLocalizedName()|escape}</h2>
<ul>
{foreach from=$mastheadUsers[$mastheadRole->getId()] item="mastheadUser"}
<li>
{$mastheadUser['user']->getFullName()|escape},
{$mastheadUser['user']->getLocalizedData('affiliation')|escape},
{$mastheadUser['dateStart']}
{if $mastheadUser['user']->getData('orcid')}
<span class="orcid">
{if $mastheadUser['user']->getData('orcidAccessToken')}
{$orcidIcon}
{/if}
<a href="{$mastheadUser['user']->getData('orcid')|escape}" target="_blank">
{$mastheadUser['user']->getData('orcid')|escape}
</a>
</span>
{/if}
</li>
{/foreach}
</ul>
{/if}
{/if}
{/foreach}
{if !empty($reviewers)}
<h2>{translate key="common.masthead.peerReviewers"}</h2>
<p>{translate key="common.masthead.peerReviewers.description" year=$previousYear}</p>
<ul>
{foreach from=$reviewers item="reviewer"}
<li>{$reviewer->getFullName()|escape}</li>
{/foreach}
</ul>
{/if}
</div><!-- .page -->
{include file="frontend/components/footer.tpl"}