From a024c4abf808dba62e3c2a755099f7f27698ca0a Mon Sep 17 00:00:00 2001
From: Beatrycze Volk <beatrycze.volk@slub-dresden.de>
Date: Thu, 17 Oct 2024 15:31:49 +0200
Subject: [PATCH] Remove button for application sources

---
 Resources/Private/Language/de.locallang.xlf     | 4 ----
 Resources/Private/Language/locallang.xlf        | 3 ---
 Resources/Private/Partials/Journal/Content.html | 8 --------
 3 files changed, 15 deletions(-)

diff --git a/Resources/Private/Language/de.locallang.xlf b/Resources/Private/Language/de.locallang.xlf
index 854f9c9..32619c6 100644
--- a/Resources/Private/Language/de.locallang.xlf
+++ b/Resources/Private/Language/de.locallang.xlf
@@ -272,10 +272,6 @@
                 <source>Plan S compliance</source>
                 <target>Plan S Compliance</target>
             </trans-unit>
-            <trans-unit id="result.priceSource" xml:space="preserve" approved="yes">
-                <source>Publication fees: amount and currency</source>
-                <target>Veröffentlichungsgebühren: Betrag und Währung</target>
-            </trans-unit>
             <trans-unit id="result.publisher" xml:space="preserve" approved="yes">
                 <source>Publisher</source>
                 <target>Verlag</target>
diff --git a/Resources/Private/Language/locallang.xlf b/Resources/Private/Language/locallang.xlf
index d2623e4..345378e 100644
--- a/Resources/Private/Language/locallang.xlf
+++ b/Resources/Private/Language/locallang.xlf
@@ -204,9 +204,6 @@
 			<trans-unit id="result.plan" xml:space="preserve">
 				<source>Plan S compliance</source>
 			</trans-unit>
-			<trans-unit id="result.priceSource" xml:space="preserve">
-				<source>Publication fees: amount and currency</source>
-			</trans-unit>
 			<trans-unit id="result.publisher" xml:space="preserve">
 				<source>Publisher</source>
 			</trans-unit>
diff --git a/Resources/Private/Partials/Journal/Content.html b/Resources/Private/Partials/Journal/Content.html
index ce5e1b8..1d8780d 100644
--- a/Resources/Private/Partials/Journal/Content.html
+++ b/Resources/Private/Partials/Journal/Content.html
@@ -107,14 +107,6 @@
                     <a href="{journal.accessData.authorInstructionsUrl}" target="_blank" rel="noopener noreferrer" class="m-2 link-button btn btn-outline-primary"><f:translate key="result.authorInstructions"/></a>
                     <a href="{journal.accessData.aimsAndScopeUrl}" target="_blank" rel="noopener noreferrer" class="m-2 link-button btn btn-outline-primary"><f:translate key="result.aimsScope"/></a>
                     <a href="{journal.accessData.editorialBoardUrl}" target="_blank" rel="noopener noreferrer" class="m-2 link-button btn btn-outline-primary"><f:translate key="result.editorialBoard"/></a>
-                    <f:if condition="{journal.filter.source}">
-                        <f:then>
-                            <a href="{journal.filter.source}" target="_blank" rel="noopener noreferrer" class="m-2 link-button btn btn-outline-primary"><f:translate key="result.priceSource"/></a>
-                        </f:then>
-                        <f:else>
-                            <a href="" rel="noopener noreferrer" class="m-2 link-button btn btn-outline-primary"><f:translate key="result.priceSource"/></a>
-                        </f:else>
-                    </f:if>
 
                     <div class="mt-4">
                         <h5><f:translate key="result.subjects"/>:</h5>
-- 
GitLab