From 3063b0cf0d2445cb52a6284f77eda8dc426a2563 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 7 May 2025 11:15:23 +0000 Subject: [PATCH] Bug 39688: (alternate) 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 Signed-off-by: Martin Renvoize --- koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc index 201477bb0f9..2df921a1dbc 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc @@ -147,7 +147,11 @@ [% ELSIF ( HOLD.is_in_processing ) %] Item in processing [% ELSIF ( HOLD.suspend ) %] - Suspended[% IF ( HOLD.suspend_until ) %]until [% HOLD.suspend_until | $KohaDates %][% END %] + [% IF ( HOLD.suspend_until ) %] + Suspended until [% HOLD.suspend_until | $KohaDates %] + [% ELSE %] + Suspended + [% END %] [% ELSE %] [% IF HOLD.itemtype %] Pending for next available item of item type '[% ItemTypes.GetDescription( HOLD.itemtype ) | html %]' -- 2.49.0