Project

General

Profile

Actions

Feature #5557

open

Show description of files in files tab

Added by Daniel Luedemann almost 14 years ago. Updated over 1 year ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Files
Target version:
-
Start date:
2010-05-19
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

It would be great if, under the Files tab, Redmine showed the description entered when sending a file.

I know it's shown when the mouse hovers the file's title, but in my company we use descriptions a lot and it's not very comfortable to have to hover in every file. Sometimes, some files have even the same title.

I modified views/projects/list_files.rhtml to show the description, but maybe we could have some kind if configuration option to decide whether or not to show the description.


Related issues

Has duplicate Redmine - Feature #1205: Display file description in File listingClosed2008-05-07

Actions
Actions #1

Updated by Holger Just almost 14 years ago

On DevMeeting1 we agreed on merging the Documents and Files sections. But this will probably only be part of Version 1.1.0

Please add your modification as a patch here, so that the UX Team can use it during the redesign.

Actions #2

Updated by Daniel Luedemann almost 14 years ago

Well, I must warn you that I have ANY skills in Ruby, I had never seen a line of code in Ruby before :)

The modification I made is very simple, I changed line 30.

Before:

 <td class="filename"><%= link_to_attachment file, :download => true, :title => file.description %></td>

After:


<td class="filename"><%= if file.description.empty?
                               link_to_attachment file, :download => true, :title => file.description
                             else
                               link_to_attachment file, :download => true, :title => file.description, :text => file.filename + \
" - " + file.description
                             end %></td>

Actions #3

Updated by Sandra Filgueira almost 14 years ago

  • Status changed from New to Resolved
Actions #4

Updated by Felix Schäfer almost 14 years ago

  • Status changed from Resolved to New

Resolved is meant for issues solved in trunk but not yet committed to the stable branch.

Actions #5

Updated by Go MAEDA about 8 years ago

  • Has duplicate Feature #1205: Display file description in File listing added
Actions #6

Updated by Timon Eckert over 7 years ago

The feature is quite simple (unfortunately I currently can't setup a contribution environment)

In redmine/app/views/files/index.html.erb just add the following (works in version 3.3.0):

# in the thead section add the following line after :field_filename
<%= sort_header_tag('filename', :caption => l(:field_description)) %>

# in the <th> section the colspan is extended to 7, because we have a new column

# now in the table row section of the table data, add the following line after the existing filename td
<td class="filename"><%= link_to_attachment file, :download => true, :text => file.description %></td>
Actions #7

Updated by Toshi MARUYAMA over 7 years ago

  • Category changed from UI to Files
Actions #8

Updated by Stephen Ostrow over 1 year ago

At some point this was Feature was added to list the description next to the listing of files in the description of the ticket; however, it still does not display the description of the File in the issue update comment which shows a File was added. This is quite annoying and should be fairly trivial to add.

Actions

Also available in: Atom PDF