https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20941 --- Comment #20 from Josef Moravec <josef.moravec@gmail.com> --- (In reply to Katrin Fischer from comment #17)
It would be good to test that this construct actually gets picked up. I am not sure if our script look for HTML inside the TT constructs... I think it would be safer not to take shortcuts here:
[% request.cost || '<span>N/A</span>' | html %]
True, this also has problem, that html tags are escaped an showed to user...
Could also be:
[% IF ( request.cost ) %][%request.cost%][% ELSE %]<span>N/A</span>[% END %]
Thanks Katrin, that's the way it should be done...
To test, in koha-shell you can do:
cd misc/translator perl translate update de-DE (or any other language)
Then check the updated po files for N/A.
-- You are receiving this mail because: You are watching all bug changes.