Koha/koha-tmpl/intranet-tmpl/prog/en
Owen Leonard b8e1e7e217 Bug 7478: fix template translation problem in catalogue_out.tt
The items with no checkouts template has a sections that uses DEFAULT to
set some strings: [% DEFAULT loopro.itemcallnumber="No Call Number" %]
This appears to be untranslatable with our current translation tool.

This patch changes the template so that it uses a simple [% IF %] block
to display the default text if no value is set. Added is use of the
Branches template plugin to show library name instead of code.

This patch also fixes an error introduced in my fix for Bug 8124 causing
the page to default to CSV download instead of output to screen.

To test, apply the patch and confirm that the default text appears
onscreen in reports which include results that have a missing barcode,
title, or call number. Results should be displayed on screen correctly.

Run "perl translate update" for any language and confirm that the newly
generated po file includes "No call number," "No barcode," and "NO
TITLE" for catalogue_out.tt

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works nicely, thx Owen!

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-09-08 05:15:58 +00:00
..
css Bug 10325 - Allow system preferences to be overridable from koha-httpd.conf 2013-09-08 02:09:53 +00:00
data Bug 10592: fix MARC21 006/008 cataloging plugins 2013-07-22 14:00:23 +00:00
includes Bug 10649 - Upgrade DataTables and move scripts out of theme directory 2013-09-05 15:43:36 +00:00
js Bug 10543: fix false warnings from checks of mandatory item fields 2013-07-30 14:43:41 +00:00
lib
modules Bug 7478: fix template translation problem in catalogue_out.tt 2013-09-08 05:15:58 +00:00
xslt Bug 10793: XSLT change 780/785 search queries to use ti,phr indexes like other linking entries 2013-09-07 20:59:27 +00:00
columns.def Bug 10550: Fix database typo wthdrawn 2013-09-08 01:58:41 +00:00