Commit 993a1c53 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 435504: Boolean charts use field descriptions from the DB, making them…

Bug 435504: Boolean charts use field descriptions from the DB, making them english only - Patch by Fré©ric Buclin <LpSolit@gmail.com> r/a=mkanat
parent 074f7b58
......@@ -62,8 +62,7 @@
'"value${chartnum}-${rownum}-${colnum}"',
'"type${chartnum}-${rownum}-${colnum}"',
'field.name',
'field.description',
'type.name',
'type.name',
'type.description',
'"${chartnum}-${rownum}-${newor}"',
'"${chartnum}-${newand}-0"',
......
......@@ -74,8 +74,9 @@
<td>
<select name="[% "field${chartnum}-${rownum}-${colnum}" %]">
[% FOREACH field = fields %]
<option value="[% field.name %]"
[%- " selected" IF field.name == col.field %]>[% field.description %]</option>
<option value="[% field.name %]" [% "selected" IF field.name == col.field %]>
[% field_descs.${field.name} || field.description FILTER html %]
</option>
[% END %]
</select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment