From 51a9c812c163b31aeb208194cb5ac451a20237ff Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 13 Apr 2020 21:45:22 +0000 Subject: [PATCH] Bug 13557: Add hint for on-site checkouts to list of current checkouts in OPAC In the list of checkouts it's currently not possible for the patront or tell the difference between normal checkouts (item is at home with them) and on-site checouts (items remained at the library). This patch adds a hint to the list of checkouts to allow differentiating these kinds of checkouts. To test: - In your patron account, have multiple checkouts, some on-site, some others, overdue items, etc. - Go to: OPAC > your summary > Checked out - Verify that there is no hint for the on-site checkouts - Apply patch - Check again, there should now be a note The note also has a class, so would be easy to be hidden or formatted differently: class="onsite_checkout". --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 1 + 1 file changed, 1 insertion(+) 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 256262818d..865ff87f65 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -294,6 +294,7 @@ [% INCLUDE 'biblio-title.inc' biblio=ISSUE %] [% IF ( ISSUE.enumchron ) %] [% ISSUE.enumchron | html %][% END %] + [% IF ( ISSUE.onsite_checkout ) %] (On-site checkout)[% END %] [% ISSUE.author | html %] -- 2.11.0