Bugzilla – Attachment 39816 Details for
Bug 9011
Add the ability to store the last patron to return an item
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9011 [QA Followup 2] - Add message to OPAC
Bug-9011-QA-Followup-2---Add-message-to-OPAC.patch (text/plain), 3.39 KB, created by
Kyle M Hall (khall)
on 2015-06-03 18:20:48 UTC
(
hide
)
Description:
Bug 9011 [QA Followup 2] - Add message to OPAC
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-06-03 18:20:48 UTC
Size:
3.39 KB
patch
obsolete
>From 0de8efb6272d051d258892fdd9f1ea922bd211a1 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 16 Jul 2014 08:04:50 -0400 >Subject: [PATCH] Bug 9011 [QA Followup 2] - Add message to OPAC > >* Adds warning to OPAC if StoreLastBorrower is enabled >* Updates db revision >* Fixes POD error > >Signed-off-by: Nick Clemens <nick@quecheelibrary.org> >--- > C4/Circulation.pm | 2 +- > .../opac-tmpl/bootstrap/en/modules/opac-privacy.tt | 14 +++++++++++++- > 2 files changed, 14 insertions(+), 2 deletions(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index 8d1745d..3eaa53e 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -3918,7 +3918,7 @@ sub GetAgeRestriction { > return ($restriction_year); > } > >-=head AnonymizeItemIssueHistory >+=head2 AnonymizeItemIssueHistory > > AnonymizeItemIssueHistory({ itemnumber => $itemnumber }); > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt >index 7686000..4c4d5a7 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt >@@ -25,7 +25,13 @@ > <h3>Your privacy management</h3> > > [% IF ( deleted ) %] >- <div class="alert alert-success">Your reading history has been deleted.</div> >+ <div class="alert alert-success"> >+ [% IF Koha.Preference('StoreLastBorrower') %] >+ Your reading history has been deleted, except for those items you are the last person to have returned. >+ [% ELSE %] >+ Your reading history has been deleted. >+ [% END %] >+ </div> > [% ELSIF ( err_history_not_deleted ) %] > <div class="alert">The deletion of your reading history failed, because there is a problem with the configuration of this feature. Please help to fix the system by informing your library of this error.</div> > [% END %] >@@ -43,6 +49,12 @@ > <li class="privacy2">Never: Delete my reading history immediately. This will delete all record of the item that was checked-out upon check-in.</li> > </ul> > <p id="note1">Please note that information on any book still checked-out must be kept by the library no matter which privacy option you choose.</p> >+ [% IF Koha.Preference('StoreLastBorrower') %] >+ <p id="note-StoreLastBorrower"> >+ The library will also track the last patron to have returned an item. >+ If you check out and return an item, the librarian will retain a record of that checkout until another patron checks out and returns that item. >+ </p> >+ [% END %] > <p id="note2">Please also note that the library staff can't update these values for you: it's your privacy!</p> > <form action="/cgi-bin/koha/opac-privacy.pl" method="post" id="opac-privacy-update-form"> > <input type="hidden" name="op" value="update_privacy" /> >-- >1.7.2.5
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 9011
:
13258
|
15117
|
15200
|
16666
|
16763
|
16773
|
18676
|
20180
|
20181
|
20329
|
20342
|
20343
|
20344
|
22577
|
22578
|
22579
|
25866
|
25867
|
25868
|
25869
|
25870
|
25871
|
25872
|
25873
|
28923
|
28924
|
28925
|
29301
|
29745
|
29749
|
29750
|
29930
|
29931
|
30979
|
30993
|
30994
|
30995
|
30996
|
30997
|
30998
|
30999
|
32430
|
32431
|
32432
|
32433
|
32434
|
32435
|
32436
|
32437
|
32438
|
32439
|
32440
|
32441
|
32442
|
32443
|
32977
|
37113
|
37114
|
37115
|
37116
|
37117
|
38441
|
38442
|
38443
|
38444
|
38445
|
39812
|
39813
|
39814
|
39815
| 39816