Skip to content

Commit

Permalink
Merge branch 'master' into providerlogo-javascript
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Bigga committed May 7, 2021
2 parents c9b2db9 + b7288ff commit 8266bfb
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
Empty file modified Configuration/TypoScript/SitePackage/navigation.typoscript
100755 → 100644
Empty file.
4 changes: 4 additions & 0 deletions Resources/Private/Language/de.locallang.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@
<source><![CDATA[Download whole work]]></source>
<target><![CDATA[Gesamtes Werk herunterladen (PDF)]]></target>
</trans-unit>
<trans-unit id="download.iiif" approved="yes">
<source><![CDATA[IIIF manifest (JSON)]]></source>
<target><![CDATA[IIIF Manifest (JSON)]]></target>
</trans-unit>
<trans-unit id="fullscreen" approved="yes">
<source><![CDATA[Fullscreen Mode]]></source>
<target><![CDATA[Vollansicht]]></target>
Expand Down
3 changes: 3 additions & 0 deletions Resources/Private/Language/locallang.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@
<trans-unit id="download.work">
<source><![CDATA[Download whole work]]></source>
</trans-unit>
<trans-unit id="download.iiif">
<source><![CDATA[IIIF manifest (JSON)]]></source>
</trans-unit>
<trans-unit id="fullscreen">
<source><![CDATA[Fullscreen Mode]]></source>
</trans-unit>
Expand Down
13 changes: 13 additions & 0 deletions Resources/Private/Partials/KitodoPageView.html
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,19 @@
</f:link.external>
</li>
</f:if>

<f:comment><!-- [IIIF downloads (JSON)] -------------------------- --></f:comment>
<f:if condition="{dc:xpath(xpath:'(/mets:mets/mets:fileSec/mets:fileGrp[@USE=\"DEFAULT\"]/mets:file/mets:FLocat/@xlink:href)[1]')}">
<f:if condition="{dc:xpath(xpath: '//mets:dmdSec/mets:mdWrap/mets:xmlData/mods:mods/mods:extension/slub:slub/slub:id[@type=\"digital\"]')}">
<li class="iiif-download">
<f:link.external
uri="https://iiif.slub-dresden.de/iiif/2/{dc:xpath(xpath: '//mets:dmdSec/mets:mdWrap/mets:xmlData/mods:mods/mods:extension/slub:slub/slub:id[@type=\"digital\"]')}/manifest.json"
class="download-document iiif"
title="{f:translate(key: 'download.iiif', extensionName='slub_digitalcollections')}"><f:translate key="download.iiif" extensionName="slub_digitalcollections" />
</f:link.external>
</li>
</f:if>
</f:if>
</ul>
</li>

Expand Down
Empty file modified ext_emconf.php
100755 → 100644
Empty file.

0 comments on commit 8266bfb

Please sign in to comment.