Bug 40221

Summary: Replace layout tables for component part display
Product: Koha Reporter: Owen Leonard <oleonard>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: Pushed to main --- QA Contact: Jonathan Druart <jonathan.druart>
Severity: enhancement    
Priority: P5 - low CC: jonathan.druart, lucas
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39998
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
25.11.00
Circulation function:
Attachments: Bug 40221: Replace layout tables for component part display
Bug 40221: Replace layout tables for component part display
Bug 40221: Replace layout tables for component part display
Bug 40221: Replace layout tables for component part display - OPAC

Description Owen Leonard 2025-06-23 17:37:27 UTC
We don't need to use an HTML table to show component parts of a bibliographic record. The only purpose the table serves is to divide the information into rows, and simple <div>s can do that.
Comment 1 Owen Leonard 2025-06-23 17:46:18 UTC
Created attachment 183423 [details] [review]
Bug 40221: Replace layout tables for component part display

This patch updates the display of component parts on the bibliographic
detail pages in both the staff interface and OPAC. Table markup isn't
necessary to display simple rows of content.

To test, apply the patch and locate a record in the catalog with
component parts. (See Bug 11175 for sample record).

Look at the detail page for the record, under the components tab, in
both the OPAc and staff interface. In both cases the information should
be clearly displayed.

Sponsored-by: Athens County Public Libraries
Comment 2 Owen Leonard 2025-07-31 17:42:09 UTC
Created attachment 184943 [details] [review]
Bug 40221: Replace layout tables for component part display

This patch updates the display of component parts on the bibliographic
detail pages in both the staff interface and OPAC. Table markup isn't
necessary to display simple rows of content.

To test, apply the patch and locate a record in the catalog with
component parts. (See Bug 11175 for sample record).

Look at the detail page for the record, under the components tab, in
both the OPAc and staff interface. In both cases the information should
be clearly displayed.

Sponsored-by: Athens County Public Libraries
Comment 3 Noah Tremblay 2025-09-04 19:13:29 UTC
Created attachment 186181 [details] [review]
Bug 40221: Replace layout tables for component part display

This patch updates the display of component parts on the bibliographic
detail pages in both the staff interface and OPAC. Table markup isn't
necessary to display simple rows of content.

To test, apply the patch and locate a record in the catalog with
component parts. (See Bug 11175 for sample record).

Look at the detail page for the record, under the components tab, in
both the OPAc and staff interface. In both cases the information should
be clearly displayed.

Sponsored-by: Athens County Public Libraries
Signed-off-by: noah <noah@inlibro.com>
Comment 4 Jonathan Druart 2025-09-16 11:16:04 UTC
Created attachment 186472 [details] [review]
Bug 40221: Replace layout tables for component part display - OPAC

This patch updates the display of component parts on the bibliographic
detail pages in both the staff interface and OPAC. Table markup isn't
necessary to display simple rows of content.

To test, apply the patch and locate a record in the catalog with
component parts. (See Bug 11175 for sample record).

Look at the detail page for the record, under the components tab, in
both the OPAc and staff interface. In both cases the information should
be clearly displayed.

Sponsored-by: Athens County Public Libraries
Signed-off-by: Noah Tremblay <noah.tremblay@inlibro.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 5 Jonathan Druart 2025-09-16 11:16:35 UTC
Why only for the OPAC?
Comment 6 Lucas Gass (lukeg) 2025-09-18 20:33:29 UTC
Nice work everyone!

Pushed to main for 25.11