Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: listing template attachments download and display file #868

Merged
merged 6 commits into from
Feb 4, 2025

Conversation

giuliaghisini
Copy link

segnalato dalla RER. Us. 64372

Nel template del blocco elenco 'Allegati' l'opzione "Mostra i PDF in anteprima" non aveva alcun effetto, i file venivano sempre scaricati.

Ora, con le modifiche fatte, i file pdf vengono aperti in anteprima se c'è il flag su quella opzione.
Per tutti gli altri file, continuano ad essere valide le regole precedenti, ovvero quelle definite dal config per ogni tipo di file.

Aggiunta una condizione in UniversalLink per aggiungere i parametri @@Download o @@display-file solo se non sono già presenti nell'url

@deodorhunter deodorhunter merged commit 089e810 into main Feb 4, 2025
5 checks passed
@deodorhunter deodorhunter deleted the fix_attachments_download_and_display_file branch February 4, 2025 12:05
pnicolli pushed a commit that referenced this pull request Feb 6, 2025
* fix: attachments template download/display-file

* chore: updated release.md

* chore: manually merge release.md and fix en translation

---------

Co-authored-by: Martina Bustacchini <41484878+deodorhunter@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants