http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15304
--- Comment #5 from paxed <[email protected]> --- If I eyeballed the patch correctly, all the changed lines are in the format: [% IF ( p.FOO ) %]<li><span class="label">FOO: </span>[% p.FOO | html_entity %]</li>[% END %] So, guessing it could be accomplished with something like this: [%BLOCK output_nlsearch_line %] [% IF ( p.$nlvar ) %]<li><span class="label">[% nlvar %]: </span>[% p.$nlvar | html_entity %]</li>[% END %] [% END %] and then called like [% PROCESS output_nhsearch_line nlvar="hjemmebibliotek" %] [% PROCESS output_nhsearch_line nlvar="opprettet" %] etc. That would prevent the texts from showing for translation up in the first place, and does look a bit cleaner to my eyes. But I haven't tested that, so perhaps it's not possible with Template Toolkit. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
