Bugzilla – Attachment 84470 Details for
Bug 21871
Show authority 856 links in the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21871: (QA follow-up) Use Koha.Preference in template
Bug-21871-QA-follow-up-Use-KohaPreference-in-templ.patch (text/plain), 1.61 KB, created by
Katrin Fischer
on 2019-01-27 14:08:54 UTC
(
hide
)
Description:
Bug 21871: (QA follow-up) Use Koha.Preference in template
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-01-27 14:08:54 UTC
Size:
1.61 KB
patch
obsolete
>From b47d4422e1c160033f387480cc86f40eaeaa187e Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >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 <katrin.fischer.83@web.de> > >https://bugs.koha-community.org/show_bug.cgi?id=21817 >--- > 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 @@ > <ul> > [% FOREACH MARCurl IN MARCURLS %] > <li>[% IF ( MARCurl.part ) %][% MARCurl.part | html %]<br />[% END %] >- [% IF ( OPACURLOpenInNewWindow ) %] >+ [% IF ( Koha.Preference('OPACURLOpenInNewWindow') ) %] > <a href="[% MARCurl.MARCURL | url %]" title="[% MARCurl.MARCURL | html %]" target="_blank" rel="noreferrer"> > [% ELSE %] > <a href="[% MARCurl.MARCURL | url %]" title="[% MARCurl.MARCURL | html %]"> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21871
:
82568
|
82596
|
83834
|
84005
|
84223
|
84466
|
84467
|
84468
|
84469
| 84470 |
84471