From 09b527d717be485b1e4de39a0877ac6d0050a40a 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". Signed-off-by: David Nind Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson --- 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 1e64a4f88e..8536d0a3c0 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -263,6 +263,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.39.5