Bug 21520: QA Follow-up: do not build html tags with TT conditions

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Matthias Meusburger 2020-01-03 10:53:34 +00:00 committed by Martin Renvoize
parent de0161db1e
commit e7c032e1dd
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 20 additions and 4 deletions

View File

@ -46,8 +46,16 @@
<tr>
<td>
<select name="rule_operator">
<option value="and" [% IF (mapping.rule_operator == 'and') %] selected="selected" [% END %]>and</option>
<option value="or" [% IF (mapping.rule_operator == 'or') %] selected="selected" [% END %]>or</option>
[% IF (mapping.rule_operator == 'and') %]
<option value="and" selected="selected">and</option>
[% ELSE %]
<option value="and">and</option>
[% END %]
[% IF (mapping.rule_operator == 'or') %]
<option value="or" selected="selected">or</option>
[% ELSE %]
<option value="or">or</option>
[% END %]
</select>
</td>
<td><input type="text" name="marcfield" size="3" value="[% mapping.marcfield | html %]" /></td>
@ -74,8 +82,16 @@
<tr>
<td>
<select name="rule_operator">
<option value="and" [% IF (mapping.rule_operator == 'and') %] selected="selected" [% END %]>and</option>
<option value="or" [% IF (mapping.rule_operator == 'or') %] selected="selected" [% END %]>or</option>
[% IF (mapping.rule_operator == 'and') %]
<option value="and" selected="selected">and</option>
[% ELSE %]
<option value="and">and</option>
[% END %]
[% IF (mapping.rule_operator == 'or') %]
<option value="or" selected="selected">or</option>
[% ELSE %]
<option value="or">or</option>
[% END %]
</select>
</td>
<td><input type="text" name="marcfield" size="3" /></td>