mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 14:24:24 +00:00
use of 'csv_cell' twig filter refs #401
This commit is contained in:
parent
b40a1595c1
commit
be759dd640
@ -2,9 +2,9 @@
|
|||||||
{%- for choice in choices -%}
|
{%- for choice in choices -%}
|
||||||
{% if choice['slug'] in selected %}
|
{% if choice['slug'] in selected %}
|
||||||
{%- if choice['slug'] is not same as('_other') -%}
|
{%- if choice['slug'] is not same as('_other') -%}
|
||||||
{{ choice['name']|localize_translatable_string|replace({'"':'""'})|raw }}
|
{{ choice['name']|localize_translatable_string|csv_cell }}
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
{{ choice['name']|replace({'"':'""'})|raw }}
|
{{ choice['name']|csv_cell }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
@ -1 +1 @@
|
|||||||
{% if text is not empty %}{{ text|replace({'"':'""'})|raw }}{% else %}{{ 'None'|trans }}{% endif %}
|
{% if text is not empty %}{{ text|csv_cell}}{% else %}{{ 'None'|trans }}{% endif %}
|
Loading…
x
Reference in New Issue
Block a user