Bug 41006

Summary: Shelving location style changed in many places since Bug 40606
Product: Koha Reporter: Fridolin Somers <fridolin.somers>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 40606, 41126    
Bug Blocks:    
Attachments: Bug 41006: Update shelving location style in some contexts

Description Fridolin Somers 2025-10-14 07:11:06 UTC
Shelving location style changed in many places since Bug 40606

See https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40606#c9
Comment 1 Owen Leonard 2025-10-29 16:32:40 UTC
Created attachment 188575 [details] [review]
Bug 41006: Update shelving location style in some contexts

Bug 40606 removed the italic style from the .shelvingloc class because
the information was moved into its own column on the bibliographic
detail holdings table. This doesn't work for several locations in Koha
where the shelving location is not displayed separately from the call
number.

This patch adds some specificity to the .shelvingloc class so that it is
italic unless it is the direct descendant of a table cell.
Everywhere else it should be in italics.

The patch also makes corrections to the checkin and transfer pages so
that shelving location is correctly displayed.

To test, apply the patch and rebuild the staff interface CSS.

- Check each instance of the .shelvingloc class.
  - Places where the information appears in a table without italics:
    - Acquisitions -> Vendor -> Receive order -> Receive a new shipment
      -> Receive
    - Circuation -> Transfers
    - Circulation -> Check in
    - Reports -> Most-circulated items
    - Bibligraphic detail holdings table
    - Cataloging -> Inventory

  - Places where the information should appear in italics:
    - Cart
    - Catalog search results
    - Tools -> Tags -> Click a tag to see tagged records
    - Lists -> List contents

Sponsored-by: Athens County Public Libraries