Project

General

Profile

Actions

Feature #4774

closed

Change the hyperlink for file attachment to view and download

Added by Wirianto Djunaidi about 14 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Low
Category:
UI
Target version:
Start date:
2010-02-09
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

Current hyperlink for file attachment can cause confusion to some user. They assume the link point to the file and use browser's "Save Link As" on it and not getting what user is expecting.

It will be better for each of the file attachment to display 2 links right away called "View" and "Download" that goes to the appropriate controller.


Related issues

Has duplicate Redmine - Feature #8176: TXT attachment downloadClosed2011-04-18

Actions
Actions #1

Updated by Ewan Makepeace about 14 years ago

I think this has different behaviour for text files and other types (which makes it even worse!) - text files link to a formatted view of the file contents (HTML) while other types link to the file itself?
Inconsistency leads to mistakes...

Actions #2

Updated by Etienne Massip almost 13 years ago

  • Target version set to Candidate for next major release

Agreed, I'm doing the same mistake each time too.

Actions #3

Updated by Cassiano Monteiro almost 13 years ago

Please refer to feature #8176 for sample TXT files.

Actions #4

Updated by Jean-Philippe Lang about 12 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version changed from Candidate for next major release to 1.4.0
  • Resolution set to Fixed

Attachment links changed so that they download the file. A link to view the file is added for text files.

Actions #5

Updated by Etienne Massip almost 12 years ago

  • Status changed from Closed to Reopened

Reopened to get sure that r9326 behaves finely with email notifications?

Actions #6

Updated by Jean-Philippe Lang almost 12 years ago

  • Status changed from Reopened to Closed

Etienne Massip wrote:

Reopened to get sure that r9326 behaves finely with email notifications?

It doesn't since image_tag use path only. It's removed in email notifications in r9333.

Actions

Also available in: Atom PDF