Skip to content

Commit

Permalink
Always render left/right pdf download
Browse files Browse the repository at this point in the history
  • Loading branch information
Kajetan Dvoracek authored and beatrycze-volk committed Mar 28, 2023
1 parent b9a57f8 commit ac49ee1
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions Resources/Private/Plugins/Kitodo/Templates/Toolbox/Main.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,20 +112,16 @@
<f:translate key="downloadSinglePage" /> (PDF)
</f:link.external>
</li>
<f:if condition="{pageLinks.0}">
<li class="shown-if-double">
<f:link.external uri="{pageLinks.0}" class="download-document" additionalAttributes="{'data-page-link': 0}">
<f:translate key="downloadLeftPage" /> (PDF)
</f:link.external>
</li>
</f:if>
<f:if condition="{pageLinks.1}">
<li class="shown-if-double">
<f:link.external uri="{pageLinks.1}" class="download-document" additionalAttributes="{'data-page-link': 1}">
<f:translate key="downloadRightPage" /> (PDF)
</f:link.external>
</li>
</f:if>
<li class="shown-if-double">
<f:link.external uri="{pageLinks.0}" class="download-document" additionalAttributes="{'data-page-link': 0}">
<f:translate key="downloadLeftPage" /> (PDF)
</f:link.external>
</li>
<li class="shown-if-double">
<f:link.external uri="{pageLinks.1}" class="download-document" additionalAttributes="{'data-page-link': 1}">
<f:translate key="downloadRightPage" /> (PDF)
</f:link.external>
</li>
<f:if condition="{workLink}">
<f:then>
<li>
Expand Down

0 comments on commit ac49ee1

Please sign in to comment.