]> git.koha-community.org Git - koha.git/commit
Bug 34865: Use OPACURLOpenInNewWindow for library URLs
authorOwen Leonard <oleonard@myacpl.org>
Mon, 25 Sep 2023 12:46:08 +0000 (12:46 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 4 Oct 2023 13:32:50 +0000 (09:32 -0400)
commit92ef068232e1c7b60c2312cb6f3747d8778f0d73
tree68d2c692f5da8330593fce3c35dea337eef01bc7
parent8a45084b7f757e131f2cc1aa61b8bce16e0ea34c
Bug 34865: Use OPACURLOpenInNewWindow for library URLs

If a library has a URL defined it is shown in the OPAC under the
libraries page. This patch updates the template so that the link
respects the OPACURLOpenInNewWindow system preference.

To test, apply the patch and go to Administration -> Libraries and edit
a library if necessary so that it has a URL defined.

In the OPAC, go to the Libraries page. Test that the library link
respects whichever setting you have for OPACURLOpenInNewWindow

Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-library.tt