From c54654c12944250ed75bbdd011e6ac6cacf58d3f 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 --- 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.39.5