From 2845e4a20d5de2fb07995b6cb45701de86aa11a6 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 27 Jan 2019 05:13:06 +0000 Subject: [PATCH] Bug 21871: (QA follow-up) Use Koha.Preference in template Use TT plugin to get value for OPACURLOpenInNewWindow. Works without, but might be a little nicer. Signed-off-by: Katrin Fischer https://bugs.koha-community.org/show_bug.cgi?id=21817 Signed-off-by: Nick Clemens --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt index 712ce04a34..2e87ed6984 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt @@ -115,7 +115,7 @@
    [% FOREACH MARCurl IN MARCURLS %]
  • [% IF ( MARCurl.part ) %][% MARCurl.part | html %]
    [% END %] - [% IF ( OPACURLOpenInNewWindow ) %] + [% IF ( Koha.Preference('OPACURLOpenInNewWindow') ) %] [% ELSE %] -- 2.39.5