From 25cb5a0d0c2c8f6503a7e0283f7f9457bf664a9e Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 9 Jan 2023 18:12:33 +0000 Subject: [PATCH] Bug 32597: Fix table display of OPAC article requests To test: 1. Enable ArticleRequests 2. Make some requests (two or more) on the OPAC and go to the user summary. 3. The table rows display horizontally. 4. Apply patch 5. Try step 2 again, the table should display correctly. Note: I made some whitespace changes to make the markup look correct. Signed-off-by: Owen Leonard --- .../bootstrap/en/modules/opac-user.tt | 140 +++++++++--------- 1 file changed, 70 insertions(+), 70 deletions(-) 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 9ab67912e9..97cb29852e 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -888,80 +888,80 @@ - [% FOREACH ar IN current_article_requests %] - - [% INCLUDE 'biblio-title.inc' biblio=ar.biblio link=> 1 %] - [% ar.item.enumchron | html %] - [% ar.biblio.author | html %] - [% IF ar.itemnumber %] (only [% ar.item.barcode | html %])[% END %] - - - - [% ar.created_on | $KohaDates %] - - - - [% ar.title | html %] - - - - [% ar.author | html %] - - - - [% ar.volume | html %] - - - - [% ar.issue | html %] - - - - [% ar.date | html %] - - - - [% IF ar.toc_request %]Yes[% END %] - - - - [% ar.pages | html %] - - - - [% ar.chapters | html %] - - - - [% ar.patron_notes | html %] - + + + [% INCLUDE 'biblio-title.inc' biblio=ar.biblio link=> 1 %] + [% ar.item.enumchron | html %] + [% ar.biblio.author | html %] + [% IF ar.itemnumber %] (only [% ar.item.barcode | html %])[% END %] + + + + [% ar.created_on | $KohaDates %] + + + + [% ar.title | html %] + + + + [% ar.author | html %] + + + + [% ar.volume | html %] + + + + [% ar.issue | html %] + + + + [% ar.date | html %] + + + + [% IF ar.toc_request %]Yes[% END %] + + + + [% ar.pages | html %] + + + + [% ar.chapters | html %] + + + + [% ar.patron_notes | html %] + + + [% IF ar.format == 'PHOTOCOPY' %]Copy[% ELSIF ar.format == 'SCAN' %]Scan[% END %] + + + [% IF ar.status == 'PENDING' %] + Pending + [% ELSIF ar.status == 'PROCESSING' %] + Processing + [% ELSIF ar.status == 'REQUESTED' %] + New + [% ELSIF ar.status == 'COMPLETED' %] + Completed + [% ELSIF ar.status == 'CANCELED' %] + Canceled + [% END %] + - [% IF ar.format == 'PHOTOCOPY' %]Copy[% ELSIF ar.format == 'SCAN' %]Scan[% END %] - - - [% IF ar.status == 'PENDING' %] - Pending - [% ELSIF ar.status == 'PROCESSING' %] - Processing - [% ELSIF ar.status == 'REQUESTED' %] - New - [% ELSIF ar.status == 'COMPLETED' %] - Completed - [% ELSIF ar.status == 'CANCELED' %] - Canceled - [% END %] - + + [% ar.branch.branchname | html %] + - - [% ar.branch.branchname | html %] - - - - - + + + + [% END %] - [% ELSE %] -- 2.20.1