diff options
Diffstat (limited to 'app/views/repositories')
-rw-r--r-- | app/views/repositories/_dir_list_content.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/repositories/_dir_list_content.html.erb b/app/views/repositories/_dir_list_content.html.erb index 396c7f6d0..a46f9665b 100644 --- a/app/views/repositories/_dir_list_content.html.erb +++ b/app/views/repositories/_dir_list_content.html.erb @@ -16,7 +16,7 @@ :depth => (depth + 1), :parent_id => tr_id)) %>');"> </span> <% end %> -<%= link_to ent_name, +<%= link_to icon_for_file(entry, ent_name), {:action => (entry.is_dir? ? 'show' : 'entry'), :id => @project, :repository_id => @repository.identifier_param, :path => to_path_param(ent_path), :rev => @rev}, :class => (entry.is_dir? ? 'icon icon-folder' : "icon icon-file #{Redmine::MimeType.css_class_of(ent_name)}")%> </td> |