Bugzilla – Attachment 46639 Details for
Bug 15577
Link in OPAC doesn't redirect anywhere
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15577: 404 html code error in OPAC message with syspref OPACPatronDetails
Bug-15577-404-html-code-error-in-OPAC-message-with.patch (text/plain), 3.15 KB, created by
Héctor Eduardo Castro Avalos
on 2016-01-14 06:19:15 UTC
(
hide
)
Description:
Bug 15577: 404 html code error in OPAC message with syspref OPACPatronDetails
Filename:
MIME Type:
Creator:
Héctor Eduardo Castro Avalos
Created:
2016-01-14 06:19:15 UTC
Size:
3.15 KB
patch
obsolete
>From 84d42a1e4e084506b56331a3eaef67ad3c1adf14 Mon Sep 17 00:00:00 2001 >From: Hector Castro <hector.hecaxmmx@gmail.com> >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 @@ > <li id="userdebarred"><strong>Please note:</strong> Your account has been frozen[% IF ( BORROWER_INFO.userdebarreddate ) %] until <span id="userdebarred_date">[% BORROWER_INFO.userdebarreddate | $KohaDates %]</span>[% END %][% IF ( BORROWER_INFO.debarredcomment ) %] with the comment <span id="userdebarred_comment">"[% BORROWER_INFO.debarredcomment %]"</span>[% END %]. Usually the reason for freezing an account is old overdues or damage fees. If <a href="/cgi-bin/koha/opac-account.pl">your account page</a> shows your account to be clear, please contact the library.</li> > [% END %] > [% IF ( BORROWER_INFO.gonenoaddress ) %] >- <li id="gonenoaddress"><strong>Please note:</strong> According to our records, we don't have up-to-date [% UNLESS OPACPatronDetails %]<a href="/cgi-bin/koha/opac-userupdate.pl">contact information</a>[% ELSE %]contact information[% END %] on file. Please contact the library[% IF OPACPatronDetails %] or use the <a href="/cgi-bin/koha/opac-userupdate.pl">online update form</a> to submit current information (<em>Please note:</em> there may be a delay in restoring your account if you submit online)[% END %].</li> >+ <li id="gonenoaddress"><strong>Please note:</strong> According to our records, we don't have up-to-date contact information on file, please contact the library. [% IF OPACPatronDetails %] Use the <a href="/cgi-bin/koha/opac-memberentry.pl">online update form</a> to submit current information (<em>Please note:</em> there may be a delay in restoring your account if you submit online)[% END %]</li> > [% END %] > [% IF ( BORROWER_INFO.lost ) %] > <li id="lost"><strong>Please note: </strong> Your library card has been marked as lost or stolen. If this is an error, please contact the library.</li> >-- >2.1.4
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 15577
:
46633
|
46639
|
46670
|
46707