зеркало из https://github.com/mozilla/gecko-dev.git
Bug 181221 - CSV reports on 2-d tables have header messed up. Patch by gerv; r=joel, a=justdave.
This commit is contained in:
Родитель
25a292272c
Коммит
9018e58b6c
|
@ -26,10 +26,14 @@
|
|||
[% col_field_disp = field_descs.$col_field || col_field %]
|
||||
[% row_field_disp = field_descs.$row_field || row_field %]
|
||||
|
||||
[% "$tbl_field_disp: $tbl\n" FILTER csv IF tbl_field %]
|
||||
[% row_field_disp FILTER csv IF row_field %]
|
||||
[% title = BLOCK %]
|
||||
[% "$tbl_field_disp: $tbl\n" IF tbl_field %]
|
||||
[% row_field_disp IF row_field %]
|
||||
[% " / " IF col_field AND row_field %]
|
||||
[% col_field_disp FILTER csv %],
|
||||
[% col_field_disp %]
|
||||
[% END %]
|
||||
|
||||
[% title FILTER csv %],
|
||||
[% IF col_field -%]
|
||||
[% FOREACH col = col_names -%]
|
||||
[% col FILTER csv -%],
|
||||
|
|
Загрузка…
Ссылка в новой задаче