Skip to content
Snippets Groups Projects
Commit 42d7de3d authored by Jean-Pascal Kanter's avatar Jean-Pascal Kanter :speech_balloon: Committed by Mathias Maaß
Browse files

refs #25170 [fid_bbi] interlibrary loan button info text

* janky implementation of info button for interlibrary loan
* language files for interlibrary loan texts
* interlibary loan button position adjustment
* changed the way the interlibrary loan button works, still viewport jump though
parent de79b491
No related merge requests found
......@@ -160,6 +160,9 @@ DigiVatLib = "<span lang="en">DigiVatLib</span>"
FactGrid : a Database for Historians = "<span lang="en">FactGrid : a Database for Historians</span>"
E-LIS : E-Prints in Library and Information Science = "<span lang="en">E-LIS : E-Prints in Library and Information Science</span>"
#25170
interlibary_info = Die Fernleihe ermöglicht es Ihnen, Bücher oder andere Medien, die in ihrer lokalen Bibliothek nicht verfügbar sind, aus anderen Bibliotheken auszuleihen. Hierfür werden Sie auf die Seite des für Sie zuständigen Verbundes umgeleitet. Für die Fernleihe benötigen Sie i.d.R. ein Fernleihkonto, das von Ihrer lokalen Bibliothek erstellt wird. Bei Fragen wenden Sie sich bitte an die Kolleg*innen vor Ort.
# 'Translated' Sources
British Library Catalogue (Profil FID BBI) = <span lang="en">British Library Catalogue (Profil FID BBI)</span>
Australian and New Zealand Student Services Association Inc. (CrossRef) = <span lang="en">Australian and New Zealand Student Services Association Inc. (CrossRef)</span>
......
......@@ -62,3 +62,6 @@ fid_export_ownerLib = "owning library"
fid_export_signature = "signature"
fid_export_externalUrl = "external url"
fid_export_comment = "comment"
#25170
interlibary_info = "Interlibrary loan allows you to borrow books or other media that are not available in your local library from other libraries. To do this, you will be redirected to the website of the library network responsible for you. For interlibrary loans you usually need an account, which is created by your local library. If you have any questions, please contact your local librarian."
\ No newline at end of file
......@@ -34,8 +34,19 @@
href="<?=$this->translate("fid::fern_url_{$net}", ['%%isbn%%' => $isbn, '%%gvi%%' => $gvi, '%%isil%%' => $isil]);?>">
<?=$this->translate('fid::fern_txt_button')?>
</a>
<sup><a href="#" id="interlibrary_info"><?=$this->icon('info')?></a></sup>
<br/>
<br/>
<?php $script = <<<JS
$(document).ready(function() {
$('#interlibrary_info').on("click", function() {
VuFind.lightbox.alert('{$this->translate("interlibary_info")}', 'success');
});
});
JS;
?>
<?=$this->inlineScript(\Laminas\View\Helper\HeadScript::SCRIPT, $script, 'SET');?>
<?php endif; ?>
<?php endif; ?>
<!-- fid_bbi: get-it-box - interlibraryloan - END -->
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment