[Koha-bugs] [Bug 20941] Displaying requests does not display request material type

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 4 22:13:15 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20941

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |katrin.fischer at bsz-bw.de

--- Comment #17 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
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 %]

Could also be:

[% IF ( request.cost ) %][%request.cost%][% ELSE %]<span>N/A</span>[% END %]

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.


More information about the Koha-bugs mailing list