-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathissues.tpl
60 lines (57 loc) · 1.93 KB
/
issues.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
56
57
58
59
60
{**
* plugins/importexport/sample/issues.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.
*
* List of issues to potentially export
*
*}
{strip}
{assign var="pageTitle" value="plugins.importexport.copernicus.selectIssue.long"}
{assign var="pageCrumbTitle" value="plugins.importexport.copernicus.selectIssue.short"}
{include file="common/header.tpl"}
{/strip}
<br/>
<div id="issues">
<table width="100%" class="listing">
<tr>
<td colspan="4" class="headseparator"> </td>
</tr>
<tr class="heading" valign="bottom">
<td width="65%">{translate key="issue.issue"}</td>
<td width="15%">{translate key="editor.issues.published"}</td>
<td width="15%">{translate key="editor.issues.numArticles"}</td>
<td width="5%" align="right">{translate key="common.action"}</td>
</tr>
<tr>
<td colspan="4" class="headseparator"> </td>
</tr>
{iterate from=issues item=issue}
<tr valign="top">
<td><a href="{url page="issue" op="view" path=$issue->getId()}" class="action">{$issue->getIssueIdentification()|strip_unsafe_html|nl2br}</a></td>
<td>{$issue->getDatePublished()|date_format:"$dateFormatShort"|default:"—"}</td>
<td>{$issue->getNumArticles()|escape}</td>
<td align="right"><a href="{plugin_url}exportIssue/{$issue->getId()}" class="action">{translate key="common.export"}</a></td>
</tr>
<tr>
<td colspan="4" class="{if $issues->eof()}end{/if}separator"> </td>
</tr>
{/iterate}
{if $issues->wasEmpty()}
<tr>
<td colspan="4" class="nodata">{translate key="issue.noIssues"}</td>
</tr>
<tr>
<td colspan="4" class="endseparator"> </td>
</tr>
{else}
<tr>
<td colspan="1" align="left">{page_info iterator=$issues}</td>
<td colspan="3" align="right">{page_links anchor="issues" name="issues" iterator=$issues}</td>
</tr>
{/if}
</table>
</div>
{include file="common/footer.tpl"}