diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-10-29 18:44:16 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-10-29 18:44:16 +0000 |
commit | e64fb6a728743cafed0bfe7d092e484cf74e85ca (patch) | |
tree | fab14907eccff82038016e23e7f8d2d24a46be1f /app | |
parent | e117dc8c9cb3985f5e7162f0b097b7b87201e472 (diff) | |
download | redmine-e64fb6a728743cafed0bfe7d092e484cf74e85ca.tar.gz redmine-e64fb6a728743cafed0bfe7d092e484cf74e85ca.zip |
Fixes users links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2990 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/queries_helper.rb | 4 | ||||
-rw-r--r-- | app/views/projects/list_members.rhtml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb index 62979172a..165308efd 100644 --- a/app/helpers/queries_helper.rb +++ b/app/helpers/queries_helper.rb @@ -45,9 +45,9 @@ module QueriesHelper when :project link_to(h(value), :controller => 'projects', :action => 'show', :id => value) when :assigned_to - link_to(h(value), :controller => 'account', :action => 'show', :id => value) + link_to_user value when :author - link_to(h(value), :controller => 'account', :action => 'show', :id => value) + link_to_user value when :done_ratio progress_bar(value, :width => '80px') when :fixed_version diff --git a/app/views/projects/list_members.rhtml b/app/views/projects/list_members.rhtml index fcfb4f7c0..7f2ae3795 100644 --- a/app/views/projects/list_members.rhtml +++ b/app/views/projects/list_members.rhtml @@ -7,7 +7,7 @@ <h3><%= role.name %></h3> <ul> <% members[role].each do |m| %> -<li><%= link_to m.name, :controller => 'account', :action => 'show', :id => m.user %> (<%= format_date m.created_on %>)</li> +<li><%= link_to_user m.user %> (<%= format_date m.created_on %>)</li> <% end %> </ul> <% end %> |