Skip to content

Commit

Permalink
Merge pull request #97 from markusweigelt/modeldownloadtool
Browse files Browse the repository at this point in the history
[FEATURE] Add model download tool
  • Loading branch information
beatrycze-volk authored Feb 11, 2025
2 parents 05755e9 + 54d8452 commit 498127d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Resources/Private/Plugins/Kitodo/Templates/Toolbox/Main.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,18 @@
</f:then>
</f:if>

<f:if condition="{renderModelDownloadTool} && {modelDownload}">
<f:then>
<li>
<span class="tx-dlf-tools-modeldownload">
<f:link.external uri="{modelDownload.url}">
<f:translate key="downloadModel" />
</f:link.external>
</span>
</li>
</f:then>
</f:if>

<f:if condition="{settings.tools} == 'scoretool'">
<f:then>
<f:if condition="{score}">
Expand Down

0 comments on commit 498127d

Please sign in to comment.