From ffc2058a76a81748abfc3fe9ab06e4132a4162a0 Mon Sep 17 00:00:00 2001 From: Kyle M Hall 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 --- 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 6914b03..ec66038 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -3773,7 +3773,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 @@

Your privacy management

[% IF ( deleted ) %] -
Your reading history has been deleted.
+
+ [% 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 %] +
[% ELSIF ( err_history_not_deleted ) %]
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.
[% END %] @@ -43,6 +49,12 @@
  • Never: Delete my reading history immediately. This will delete all record of the item that was checked-out upon check-in.
  • Please note that information on any book still checked-out must be kept by the library no matter which privacy option you choose.

    + [% IF Koha.Preference('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. +

    + [% END %]

    Please also note that the library staff can't update these values for you: it's your privacy!

    -- 1.7.2.5