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 was not translatable. Ths patch fixes that. 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> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> This is an improvement. Only the translation of auto_match as Match found could perhaps be further improved. Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
4edcec3d58
commit
20d0aff0e8
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue