RedTurtle / redturtle.volto

Helper package to setup a RedTurtle's Plone site ready to work with Volto
GNU General Public License v2.0
1 stars 1 forks source link

Customize @@display-file to allow to download files with proper filename #113

Closed cekk closed 2 weeks ago

cekk commented 2 weeks ago

For example here: https://www.ausl.pc.it/it/strutture-e-territorio/dipartimenti/sanita-pubblica/prevenzione-e-sicurezza-ambienti-di-lavoro/materiali-informativi-prevenzione-e-sicurezza-negli-ambienti-di-lavoro/agenti-chimici/piano-di-promozione-e-assistenza-lavoro-rischio-salute-2013-agenti-chimici-in-metalmeccanica/@@display-file/file_principale

Without this customization, browser use "file_principale" as filename if you try to download it from the preview.