-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathPdfDownloadTool.html
More file actions
45 lines (40 loc) · 1.97 KB
/
Copy pathPdfDownloadTool.html
File metadata and controls
45 lines (40 loc) · 1.97 KB
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
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
data-namespace-typo3-fluid="true">
<f:comment>
(c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
This file is part of the Kitodo and TYPO3 projects.
@license GNU General Public License version 3 or later.
For the full copyright and license information, please read the
LICENSE.txt file that was distributed with this source code.
</f:comment>
<li class="tx-dlf-tools-pdfdownload">
<span class="tx-dlf-tools-pdf-page">
<f:if condition="{double} === 0">
<f:then>
<f:if condition="{pageLinks.0}">
<f:link.external uri="{pageLinks.0}" target="_blank"><f:translate key="toolbox.general.downloadSinglePage" /> (PDF)</f:link.external>
</f:if>
</f:then>
<f:else>
<f:if condition="{pageLinks.0}">
<f:link.external uri="{pageLinks.0}" target="_blank"><f:translate key="toolbox.general.downloadLeftPage" /> (PDF)</f:link.external>
</f:if>
<f:if condition="{pageLinks.1}">
<f:link.external uri="{pageLinks.1}" target="_blank"><f:translate key="toolbox.general.downloadRightPage" /> (PDF)</f:link.external>
</f:if>
</f:else>
</f:if>
</span>
<span class="tx-dlf-tools-pdf-work">
<f:if condition="{workLink}">
<f:link.external uri="{workLink}" target="_blank"><f:translate key="toolbox.pdfDownload.downloadWork"/> (PDF)</f:link.external>
</f:if>
</span>
<span class="tx-dlf-tools-score">
<f:if condition="{scoreLinks}">
<a href="#" id="tx-dlf-score-midi-download" class="download-document"><f:translate key="toolbox.pdfDownload.downloadMidi"/> (MIDI)</a>
<a href="#" id="tx-dlf-score-download" class="download-document"><f:translate key="toolbox.pdfDownload.downloadScore"/> (PDF)</a>
</f:if>
</span>
</li>
</html>