Bug 40221

Summary: Replace layout tables for component part display
Product: Koha Reporter: Owen Leonard <oleonard>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39998
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 40221: Replace layout tables for component part display

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