From cd355dcd0951844b737e327fd083921eba7ea009 Mon Sep 17 00:00:00 2001 From: =?UTF-8?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. --- koha-tmpl/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 2eb7ead..19bbe49 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 %] -- 1.7.10.4