Browse Source

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>
20.05.x
Matthias Meusburger 3 years ago
committed by Martin Renvoize
parent
commit
e7c032e1dd
Signed by: martin.renvoize GPG Key ID: 422B469130441A0F
  1. 24
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_set_mappings.tt

24
koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_set_mappings.tt

@ -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>

Loading…
Cancel
Save