You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently you cannot customise the path where the "/privacy-statement" is located.
Having multiple languages, I have multiplte privacy statements. I'd like to be able to add this as a param in the render_esi.
so I don't have to do this: {% set cookies = render_esi(path('ch_cookie_consent.show_if_cookie_consent_not_set', { 'locale' : app.request.locale })) %} {{ cookies|replace({'privacy-statement': app.request.locale ~'/privacy'})|raw }}
but can do this: {{render_esi(path('ch_cookie_consent.show_if_cookie_consent_not_set', { 'locale' : app.request.locale, 'read_more_link' : app.request.locale ~'/privacy'})) }}
The text was updated successfully, but these errors were encountered:
Currently you cannot customise the path where the "/privacy-statement" is located.
Having multiple languages, I have multiplte privacy statements. I'd like to be able to add this as a param in the render_esi.
so I don't have to do this:
{% set cookies = render_esi(path('ch_cookie_consent.show_if_cookie_consent_not_set', { 'locale' : app.request.locale })) %} {{ cookies|replace({'privacy-statement': app.request.locale ~'/privacy'})|raw }}
but can do this:
{{render_esi(path('ch_cookie_consent.show_if_cookie_consent_not_set', { 'locale' : app.request.locale, 'read_more_link' : app.request.locale ~'/privacy'})) }}
The text was updated successfully, but these errors were encountered: