From 3bfc54d44a53a4235e171858f75a6fc4bdc3eb9c Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 17 Oct 2020 14:14:00 +0200 Subject: [PATCH] Bug 26680: Acq - Wrap (rcvd) in a span and change text to received MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The new span with the class order-received will allow to have individual styling on the term to make it stand out more in the list of order lines of a basket. The text change will ease translation. To test: - In acquisitions: - Create a new basket - Add at least 2 order lines - Close the basket - Receive a new shipment and one of your order lines - Go back to your basket - One line should now show "(rcvd)" - Apply patch - Reload the basket page - Verify the text has changed and element now has a class in the HTML source Signed-off-by: Séverine QUEUNE Signed-off-by: Barbara Johnson Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index 3eb48e2ab2..ddd8df99ae 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -484,7 +484,7 @@

- [% IF ( books_loo.order_received ) %] (rcvd)[% END %] + [% IF ( books_loo.order_received ) %] (received)[% END %] [% IF books_loo.title %] [% books_loo.title | html %][% IF books_loo.author %] by [% books_loo.author | html %][% END %] [% ELSE %] @@ -622,7 +622,7 @@

- [% IF ( order.order_received ) %] (rcvd)[% END %] + [% IF ( order.order_received ) %] (received)[% END %] [% IF (order.title) %] [% order.title | html %][% IF order.author %] by [% order.author | html %][% END %] [% ELSE %] -- 2.39.5