Bug 18649: Translatability: Get rid of tt directive in translation for admin/categories.tt and onboardingstep2.tt

New patch without trailing IF construction in tt directives as
requested in comment #28

To test: Verify that translation tool no longer shows tt directives as
described in comment #1

New patch, needs SO.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Marc Véron 2017-08-04 10:52:13 +02:00 committed by Jonathan Druart
parent 59e95182cf
commit 79338bde3e
2 changed files with 10 additions and 2 deletions

View File

@ -89,7 +89,11 @@
<ol>
<li>
<label for="enrolmentperiod" style="width:6em;">In months: </label>
<input type="text" class="enrollmentperiod" name="enrolmentperiod" id="enrolmentperiod" size="3" maxlength="3" value="[% IF category.enrolmentperiod %][% category.enrolmentperiod %][% END %]" /> months
[% IF category.enrolmentperiod %]
<input type="text" class="enrollmentperiod" name="enrolmentperiod" id="enrolmentperiod" size="3" maxlength="3" value="[% category.enrolmentperiod %]" /> months
[% ELSE %]
<input type="text" class="enrollmentperiod" name="enrolmentperiod" id="enrolmentperiod" size="3" maxlength="3" value="" /> months
[% END %]
</li>
<li>
<label for="enrolmentperioddate" style="width:6em;">Until date: </label>

View File

@ -101,7 +101,11 @@
</li>
<li>
<label for="enrolmentperiod">In months: </label>
<input type="number" class="enrolmentperiod" name="enrolmentperiod" id="enrolmentperiod" min="0" size="3" value="[% IF category.enrolmentperiod %][% category.enrolmentperiod %][% END %]" />
[% IF category.enrolmentperiod %]
<input type="number" class="enrolmentperiod" name="enrolmentperiod" id="enrolmentperiod" min="0" size="3" value="[% category.enrolmentperiod %]" />
[% ELSE %]
<input type="number" class="enrolmentperiod" name="enrolmentperiod" id="enrolmentperiod" min="0" size="3" value="" />
[% END %]
</li>
<li>
<label for="enrolmentperioddate">Until date: </label>