Bug 39679: (follow-up) Improve consistency

This improves the consistency with other areas of Koha:
1. A space before the barcode: "Only item 3999....".
2. Where there is no barcode: "Only item [No barcode]".

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
David Nind 2025-05-09 20:42:53 +00:00 committed by Katrin Fischer
parent 0debad345c
commit ba61427f67
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 3 additions and 4 deletions

View File

@ -229,12 +229,11 @@
</a>
[%- ELSE -%]
<select name="change_hold_type_[% hold.reserve_id | html %]">
<option selected="selected" value=""
>Only item
<option selected="selected" value="">
[%- IF ( hold.barcodenumber ) -%]
[%- ' ' _ hold.barcodenumber | html -%]
Only item [%- hold.barcodenumber | html -%]
[%- ELSE -%]
No barcode
Only item [No barcode]
[%- END -%]
</option>
<option value="1">Next available</option>