Bugzilla – Attachment 93582 Details for
Bug 23123
Status AVAILABLE and ORDERED for suggestions are not translated in the templates
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23123: Add missing suggestion status to template for translation
Bug-23123-Add-missing-suggestion-status-to-templat.patch (text/plain), 2.39 KB, created by
Nick Clemens (kidclamp)
on 2019-10-03 12:13:22 UTC
(
hide
)
Description:
Bug 23123: Add missing suggestion status to template for translation
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2019-10-03 12:13:22 UTC
Size:
2.39 KB
patch
obsolete
>From 1cd1157c2dd9468fa9c21b818434a43672ea2c96 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Fri, 12 Jul 2019 13:41:21 +0000 >Subject: [PATCH] Bug 23123: Add missing suggestion status to template for > translation >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This completes suggestion status options in the templates in 2 places >so all values can be translated and show correctly. > >To test: >- Create 2 suggestions >- Accept them >- Create a basket and order those 2 from suggestions >- Close the basket >- Receive shipment and receive one of the 2 suggestions >- Go back to suggestions: > - Look at the status column in the suggestions table for both > - Verify that it shows AVAILABLE > - View both suggestions > - Verify that the Status: is empty >- Apply patch >- Repeat test from above, it should all show nicely now > >Signed-off-by: Claudie Trégouët <claudie.tregouet@biblibre.com> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt | 8 ++++++++ > 1 file changed, 8 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >index bfad9299f3..3c5d366dea 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >@@ -141,6 +141,12 @@ > [% ELSIF ( STATUS == 'REJECTED' ) %] > Rejected > [% SET status_found = 1 %] >+ [% ELSIF ( STATUS == 'ORDERED' ) %] >+ Ordered >+ [% SET status_found = 1 %] >+ [% ELSIF ( STATUS == 'AVAILABLE' ) %] >+ Available >+ [% SET status_found = 1 %] > [% ELSE %] > [% FOREACH s IN SuggestionStatuses %] > [% IF STATUS == s.authorised_value %] >@@ -514,6 +520,8 @@ > Rejected > [% ELSIF ( suggestions_loo.CHECKED ) %] > Checked >+ [% ELSIF ( suggestions_loo.AVAILABLE ) %] >+ Available > [% ELSIF AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestions_loo.STATUS ) %] > [% AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestions_loo.STATUS ) | html %] > [% ELSE %] >-- >2.11.0
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 23123
:
91514
|
93444
| 93582