Bug 22752: (follow-up) Add style; Only show message about item-level holds
authorOwen Leonard <oleonard@myacpl.org>
Thu, 21 Jan 2021 15:12:26 +0000 (15:12 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 21 Jan 2021 15:23:35 +0000 (16:23 +0100)
commit400b4e08aa27875af328733961b6cce2d45333c3
treede040a492f3771aa1c865d1659593b79907e73b5
parent46ba6fec505cf1dd9d4836c85ab87b2cd96a5ee3
Bug 22752: (follow-up) Add style; Only show message about item-level holds

I think it's generally assumed that a hold has, by default, been made at
the bibliographic level. I think it's sufficent to add a note for only
item-level holds.

To test, apply the patch and log into the OPAC as a user who has
multiple holds, some at the bibliographic level and some at the item
level.

- Go to Your summary --> Holds
- Confirm that any item-level hold has a note under the title: "Item on
  hold <barcode>".
- The note should be on a new line and styled differently than the other
  text.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc