From 64c28e5c725ca3d7473abee71990a19fbd3a2a0d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc=20V=C3=A9ron?= Date: Mon, 9 May 2016 18:30:27 +0200 Subject: [PATCH] Bug 16478: Translation breaks display of Checkout history in tab Checks / On-site-checkouts To test: - Make sure that syspref OnsiteCheckouts is enabled - Log in to OPAC as a patron who has checkouts, online checkouts and checkout history enabled - Go to 'your reading history' (in English) - Display all three tabs - Apply patch - Reload page, display oll three tabs again, there should be no difference - Examine source code changes to verify that the words 'checkout' and 'onsite' no longer will be exposed to translation. Signed-off-by: Jonathan Druart Signed-off-by: Katrin Fischer Signed-off-by: Kyle M Hall --- .../opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt index 2eb7eadee1..19bbe49d86 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt @@ -80,11 +80,10 @@ [% FOREACH issue IN READING_RECORD %] - [% IF issue.onsite_checkout %] - onsite - [% ELSE %] - checkout + [% IF issue.onsite_checkout %][% issuetype = 'onsite' %] + [% ELSE %][% issuetype = 'checkout' %] [% END %] + [% issuetype %] [% IF OPACAmazonCoverImages %] -- 2.39.5