Bugzilla – Attachment 25854 Details for
Bug 11845
set overlay and import status translatable in addorderiso2709.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11845 - set overlay and import status translatable in addorderiso2709.tt
Bug-11845---set-overlay-and-import-status-translat.patch (text/plain), 4.06 KB, created by
Biblibre Sandboxes
on 2014-03-05 14:51:29 UTC
(
hide
)
Description:
Bug 11845 - set overlay and import status translatable in addorderiso2709.tt
Filename:
MIME Type:
Creator:
Biblibre Sandboxes
Created:
2014-03-05 14:51:29 UTC
Size:
4.06 KB
patch
obsolete
>From 9208791ab5dc5237c001f1af39f90bf493d5af4b Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Wed, 26 Feb 2014 11:03:18 +0100 >Subject: [PATCH] Bug 11845 - set overlay and import status translatable in addorderiso2709.tt > >In addorderiso2709.tt, the text for overlay and import status come from database and is not translatable. >Same as Bug 10170. > >Test plan : >- Go to acquisition module >- Display an open basket >- Click on "From a staged file" >- Look at table >=> Without patch, you see codes in "Status" column : staged, imported, ... >=> With patch, you see descriptions in "Status" column : Staged, Imported, ... >- Click on a "Add orders" >- Look at table >=> Without patch, you see codes in "Match?" column : no_match, auto_match, ... >=> With patch, you see descriptions in "Match?" column : No match, Match found, ... > >Signed-off-by: Nathalie CHATILLON <nathalie.chatillon@uhb.fr> >--- > .../prog/en/modules/acqui/addorderiso2709.tt | 30 ++++++++++++++++++- > 1 files changed, 28 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt >index 48a21b9..44d2bb8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt >@@ -70,7 +70,17 @@ > [% biblio_lis.citation %] > > </td> >- <td>[% biblio_lis.overlay_status %]</td> >+ <td> >+ [% IF ( biblio_lis.overlay_status == 'no_match' ) %] >+ No match >+ [% ELSIF ( biblio_lis.overlay_status == 'match_applied' ) %] >+ Match applied >+ [% ELSIF ( biblio_lis.overlay_status == 'auto_match' ) %] >+ Match found >+ [% ELSE %] >+ [% biblio_lis.overlay_status %] >+ [% END %] >+ </td> > <td><a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]&booksellerid=[% booksellerid %]&breedingid=[% biblio_lis.import_record_id %]&import_batch_id=[% biblio_lis.import_batch_id %]&biblionumber=[% biblio_lis.match_biblionumber %]">Add order</a></td> > </tr> > [% IF ( biblio_lis.match_biblionumber ) %] >@@ -112,7 +122,23 @@ > <tr> > <td>[% batch_lis.file_name %]</td> > <td>[% batch_lis.comments %]</td> >- <td>[% batch_lis.import_status %]</td> >+ <td> >+ [% IF ( batch_lis.import_status == 'cleaned' ) %] >+ Cleaned >+ [% ELSIF ( batch_lis.import_status == 'imported' ) %] >+ Imported >+ [% ELSIF ( batch_lis.import_status == 'importing' ) %] >+ Importing >+ [% ELSIF ( batch_lis.import_status == 'reverted' ) %] >+ Reverted >+ [% ELSIF ( batch_lis.import_status == 'reverting' ) %] >+ Reverting >+ [% ELSIF ( batch_lis.import_status == 'staged' ) %] >+ Staged >+ [% ELSE %] >+ [% batch_lis.import_status %] >+ [% END %] >+ </td> > <td><span title="[% batch_lis.staged_date %]">[% batch_lis.staged_date | $KohaDates with_hours => 1 %]</span></td> > <td>[% batch_lis.num_biblios %]</td> > <td><a href="[% batch_lis.scriptname %]?import_batch_id=[% batch_lis.import_batch_id %]&basketno=[% basketno %]&booksellerid=[% booksellerid %]">Add orders</a></td> >-- >1.7.2.5
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 11845
:
25633
|
25854
|
26188