Mercurial > hg > soundsoftware-site
changeset 1018:d78b06240b73 bug_531
Always call up entry for file in repo, not changes, when name is clicked
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Tue, 13 Nov 2012 10:12:31 +0000 |
parents | 52be96e83080 |
children | b56a4c5afa35 |
files | app/views/repositories/_dir_list_content.html.erb |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ ) %>"> </span> <% 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)}")%> </td> <td class="size"><%= (entry.size ? number_to_human_size(entry.size) : "?") unless entry.is_dir? %></td>