Adding csv_row twig filter

This commit is contained in:
Marc Ducobu 2015-02-18 16:30:08 +01:00
parent 80851c4071
commit 0cd8b9af3c

View File

@ -10,11 +10,11 @@
{% for report in reports %}{#
#}{{ report.id }},{#
#}"{{ report.person }}",{#
#}"{{ report.person.id }}",{#
#}"{{ report.person|csv_cell }}",{#
#}"{{ report.person.id|csv_cell }}",{#
#}"{{ report.date|localizeddate('short', 'none') }}",{#
#}"{{ report.user }}",{#
#}"{{ report.cFGroup.getName(app.request.locale) }}",{#
#}"{{ report.user|csv_cell }}",{#
#}"{{ report.cFGroup.getName(app.request.locale)|csv_cell }}",{#
#}{% for customField in report.cFGroup.customFields %}{#
#}{% if customField.type == 'title' %}{#
#}""{#