django-cms / django-filer

File and Image Management Application for django
https://django-filer.readthedocs.io/
Other
1.73k stars 574 forks source link

fix: URL action in data table list template #1428

Closed T4m closed 9 months ago

T4m commented 9 months ago

Description

In the CMS admin, when listing the files, we have up to 4 action buttons, with the two firsts "URL" & "Download".

Before this change : Both were links (one canonical, one to the file in media).

Now both are download links.

IMHO :

It became more difficult to display the file in the browser without downloading it. (Now only "right click > open url" allows it.)

So this PR fixes this accordingly.

Also, I noted that the feature name adding the bug was "Styling update", but this change was more a behavior update, I think. So I didn't add anything to the changelog of my PR because it's more "going back to the documented state". However, it might be relevant to document somewhere that the previous version added the download attribute on the download link.

fsbraun commented 9 months ago

This solves #1427