Bug 39688: Improve i18n and spacing

Reworking the template logic of this section improves the spacing and
makes it so that the strings make more sense in translation.

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Owen Leonard 2025-05-07 11:15:23 +00:00 committed by Katrin Fischer
parent a009011d5c
commit dad63bfdf3
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 5 additions and 1 deletions

View File

@ -147,7 +147,11 @@
[% ELSIF ( HOLD.is_in_processing ) %]
<span>Item in processing</span>
[% ELSIF ( HOLD.suspend ) %]
<span>Suspended</span>[% IF ( HOLD.suspend_until ) %]<span>until</span> [% HOLD.suspend_until | $KohaDates %][% END %]
[% IF ( HOLD.suspend_until ) %]
<span>Suspended until [% HOLD.suspend_until | $KohaDates %]</span>
[% ELSE %]
<span>Suspended</span>
[% END %]
[% ELSE %]
[% IF HOLD.itemtype %]
<span>Pending for next available item of item type '[% ItemTypes.GetDescription( HOLD.itemtype ) | html %]'</span>