Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove special case for catalouge search #74

Merged
merged 1 commit into from
Mar 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 1 addition & 18 deletions Resources/Private/Partials/KitodoPageView.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,22 +175,7 @@
</f:if>

<f:comment><!-- [catalouge search ] ----------------------------- --></f:comment>
MarcMoschSLUB marked this conversation as resolved.
Show resolved Hide resolved
<f:if condition="<dc:xpath xpath='(//mets:dmdSec/mets:mdWrap/mets:xmlData/mods:mods/mods:extension/slub:slub/slub:id[@type=\"digital\"])' />">
<f:then>
<f:comment><!-- the SLUB catalogue way --></f:comment>
<li>
<f:link.external
uri="https://katalog.slub-dresden.de/ppn/<dc:xpath xpath='(//mets:dmdSec/mets:mdWrap/mets:xmlData/mods:mods/mods:extension/slub:slub/slub:id[@type=\"digital\"])' />"
class="local-catalog"
target="_blank"
title="<f:translate key='provider.slub_catalogue' extensionName='slub_digitalcollections' />">
<f:translate key='provider.slub_catalogue' extensionName='slub_digitalcollections' />
</f:link.external>
</li>
</f:then>
<f:else>
<f:comment><!-- the DFG-Viewer way --></f:comment>
<f:for each="{0: '1', 1: '2', 2: '3'}" as="index">
<f:for each="{0: '1', 1: '2', 2: '3'}" as="index">
<f:if condition="<dc:xpath xpath='(//mets:amdSec/mets:digiprovMD/mets:mdWrap[@OTHERMDTYPE=\"DVLINKS\"]/mets:xmlData/dv:links/dv:reference)[{index}]' />">
<li>
<f:if condition="<dc:xpath xpath='(//mets:amdSec/mets:digiprovMD/mets:mdWrap[@OTHERMDTYPE=\"DVLINKS\"]/mets:xmlData/dv:links/dv:reference/@linktext)[{index}]' />">
Expand All @@ -216,8 +201,6 @@
</li>
</f:if>
</f:for>
</f:else>
</f:if>

<f:comment><!-- [License informations] ------------------------------ --></f:comment>
<f:if condition="{settings.termsOfUsePid}">
Expand Down
Loading