Bugzilla – Attachment 112105 Details for
Bug 26680
Update (rcvd) to (received) with its own class in basket view
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26680: Acq - Wrap (rcvd) in a span and change text to received
Bug-26680-Acq---Wrap-rcvd-in-a-span-and-change-tex.patch (text/plain), 2.55 KB, created by
Martin Renvoize (ashimema)
on 2020-10-21 15:14:49 UTC
(
hide
)
Description:
Bug 26680: Acq - Wrap (rcvd) in a span and change text to received
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-10-21 15:14:49 UTC
Size:
2.55 KB
patch
obsolete
>From 425bb130236881a344345430957411983697d637 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >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=UTF-8 >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 <severine.queune@bulac.fr> >Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > 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 651a232162..4fccefded7 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 @@ > </td> > <td> > <p> >- [% IF ( books_loo.order_received ) %] (rcvd)[% END %] >+ [% IF ( books_loo.order_received ) %] <span class="order-received">(received)</span>[% END %] > [% IF books_loo.title %] > <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% books_loo.biblionumber | uri %]">[% books_loo.title | html %]</a>[% IF books_loo.author %] by [% books_loo.author | html %][% END %] > [% ELSE %] >@@ -620,7 +620,7 @@ > </td> > <td> > <p> >- [% IF ( order.order_received ) %] (rcvd)[% END %] >+ [% IF ( order.order_received ) %] <span class="order-received">(received)</span>[% END %] > [% IF (order.title) %] > [% order.title | html %][% IF order.author %] by [% order.author | html %][% END %] > [% ELSE %] >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 26680
:
111638
|
111943
|
112054
|
112076
| 112105