# HG changeset patch # User Chris Cannam # Date 1352801551 0 # Node ID d78b06240b73078089e4ddc5a3f255649bc3c137 # Parent 52be96e8308021ca7cc818e76fa63b2abe20e01d Always call up entry for file in repo, not changes, when name is clicked diff -r 52be96e83080 -r d78b06240b73 app/views/repositories/_dir_list_content.html.erb --- a/app/views/repositories/_dir_list_content.html.erb Mon Nov 12 15:17:17 2012 +0000 +++ b/app/views/repositories/_dir_list_content.html.erb Tue Nov 13 10:12:31 2012 +0000 @@ -24,7 +24,7 @@ ) %>">  <% end %> <%= link_to h(ent_name), - {:action => (entry.is_dir? ? 'show' : 'changes'), :id => @project, :path => to_path_param(ent_path), :rev => @rev}, + {:action => (entry.is_dir? ? 'show' : 'entry'), :id => @project, :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)}")%> <%= (entry.size ? number_to_human_size(entry.size) : "?") unless entry.is_dir? %>