diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-01-16 18:03:18 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-01-16 18:03:18 +0000 |
commit | ad1330c7806e93010912dc294dff7a2c1e58f753 (patch) | |
tree | 9656d373437ba75c30b0b7d30e3d088086710f0f /app | |
parent | 0dcc879b3c8901d6c7bf76a7039b5b07760f3dfa (diff) | |
download | redmine-ad1330c7806e93010912dc294dff7a2c1e58f753.tar.gz redmine-ad1330c7806e93010912dc294dff7a2c1e58f753.zip |
Search for changeset in the current repository (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8661 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-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 057b7dc2e..779cb7923 100644 --- a/app/views/repositories/_dir_list_content.html.erb +++ b/app/views/repositories/_dir_list_content.html.erb @@ -29,7 +29,7 @@ :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> -<% changeset = @project.repository.find_changeset_by_name(entry.lastrev.identifier) if entry.lastrev && entry.lastrev.identifier %> +<% changeset = @repository.find_changeset_by_name(entry.lastrev.identifier) if entry.lastrev && entry.lastrev.identifier %> <% if @repository.report_last_commit %> <td class="revision"><%= link_to_revision(changeset, @repository) if changeset %></td> <td class="age"><%= distance_of_time_in_words(entry.lastrev.time, Time.now) if entry.lastrev && entry.lastrev.time %></td> |