Bugzilla – Attachment 95039 Details for
Bug 23968
OPACMySummaryNote does not work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23968: fix OPACMySummaryNote feature
Bug-23968-fix-OPACMySummaryNote-feature.patch (text/plain), 1.60 KB, created by
Fridolin Somers
on 2019-11-05 08:56:52 UTC
(
hide
)
Description:
Bug 23968: fix OPACMySummaryNote feature
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2019-11-05 08:56:52 UTC
Size:
1.60 KB
patch
obsolete
>From b8d8db3f042276c2fbafde9808304a3e6ee00d70 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Tue, 5 Nov 2019 09:52:59 +0100 >Subject: [PATCH] Bug 23968: fix OPACMySummaryNote feature > >The system preference OPACMySummaryNote is used to display on the logged-in patron summary page at OPAC. >It does not display anymore. > >Looks like it comes from code : >[% IF OPACMySummaryNote %][% Koha.Preference('OPACMySummaryNote') | $raw %][% END %] >OPACMySummaryNote used to be a provided variable. > >Test plan: >1) Enable system preference OPACMySummaryNote >2) Enter some HTML into it >3) Go to OPAC and loggin >4) Check you see the HTML in opac-user.pl >5) Disable the preference >6) Check you dont see the HTML anymore >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >index c8fd16088f..c0ced8742c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >@@ -141,7 +141,9 @@ > > <div class="alert alert-info" id="notesaved" style="display:none;"></div> > >- [% IF OPACMySummaryNote %][% Koha.Preference('OPACMySummaryNote') | $raw %][% END %] >+ [% IF Koha.Preference('OPACMySummaryNote') %] >+ [% Koha.Preference('OPACMySummaryNote') | $raw %] >+ [% END %] > > <div id="opac-user-views" class="toptabs"> > <ul> >-- >2.23.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 23968
:
95039
|
95040
|
95046
|
95047