Commit Graph

2 Commits

Author SHA1 Message Date
Pedro M. Baeza
c1bbc61efd [FIX] document_url: Change mimetype only if type=url
Other modules like web_pwa_oca uses url field for storing an indexed
path for later being searched in the controller, so let's restrict the
mimetype change if both url and type=url is set.
2023-03-08 16:19:35 +01:00
Víctor Martínez
0cb4d31789 [IMP] document_url: Visual and functional improvements in UI.
Define the add attachment and add URL buttons on the same line.
Allow downloading of url type attachments by clicking on the icon or the name.
Define the name of the url type attachments as links (allows to open it in a new tab).
Hide the download button for url attachments.
Force to set mimetype to "application/link" for url attachments.
Displays a link icon for url attachments.
TT30263
2022-12-08 10:06:17 +01:00