From 84d42a1e4e084506b56331a3eaef67ad3c1adf14 Mon Sep 17 00:00:00 2001 From: Hector Castro Date: Thu, 14 Jan 2016 00:13:32 -0600 Subject: [PATCH] Bug 15577: 404 html code error in OPAC message with syspref OPACPatronDetails The script opac-userupdate.pl doesn't exist in Koha. Fix the link redirecting to opac-memberentry.pl and reword the message. To reproduce the issue: 1)Edit whichever patron 2)Check Yes in 'Gone no Address' and 'Lost card' 3)Login as the user in OPAC 4)See the yellow message in summary of the account and click in 'online update form' this link redirect to 404 code error page. 5)Play with syspref OPACPatronDetails to Allow and Don't Allow To test: -Apply patch -Follow steps 1 to 5 -Confirm that you are taken to 'your personal details' page --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 2 +- 1 file changed, 1 insertion(+), 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 af13fc7..0eed927 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -92,7 +92,7 @@
  • Please note: Your account has been frozen[% IF ( BORROWER_INFO.userdebarreddate ) %] until [% BORROWER_INFO.userdebarreddate | $KohaDates %][% END %][% IF ( BORROWER_INFO.debarredcomment ) %] with the comment "[% BORROWER_INFO.debarredcomment %]"[% END %]. Usually the reason for freezing an account is old overdues or damage fees. If your account page shows your account to be clear, please contact the library.
  • [% END %] [% IF ( BORROWER_INFO.gonenoaddress ) %] -
  • Please note: According to our records, we don't have up-to-date [% UNLESS OPACPatronDetails %]contact information[% ELSE %]contact information[% END %] on file. Please contact the library[% IF OPACPatronDetails %] or use the online update form to submit current information (Please note: there may be a delay in restoring your account if you submit online)[% END %].
  • +
  • Please note: According to our records, we don't have up-to-date contact information on file, please contact the library. [% IF OPACPatronDetails %] Use the online update form to submit current information (Please note: there may be a delay in restoring your account if you submit online)[% END %]
  • [% END %] [% IF ( BORROWER_INFO.lost ) %]
  • Please note: Your library card has been marked as lost or stolen. If this is an error, please contact the library.
  • -- 2.1.4