[Koha-bugs] [Bug 18649] Translatability: Get rid of tt directive in translation for admin/ categories.tt and onboardingstep2.tt

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 26 12:26:24 CEST 2017


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.de.rooy at rijksmuseum.nl

--- Comment #5 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Hi Marc,

What is the advantage of 
value="[%- category.enrolmentperiod IF category.enrolmentperiod -%]"
above e.g.
value="[% category.enrolmentperiod %]"  ?
I guess that if period == 0, the first one will leave the field empty?
Null and empty string will probably respond the same.

Note that the trailing IF does not increase readability. Before making this
kind of changes everywhere, is there a consensus to do so?

Also noting that you add chomps here (%-). Do we need them here?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list