OSDN Git Service

Fixes users links.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 29 Oct 2009 18:44:16 +0000 (18:44 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 29 Oct 2009 18:44:16 +0000 (18:44 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2990 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/queries_helper.rb
app/views/projects/list_members.rhtml

index 6297917..165308e 100644 (file)
@@ -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
index fcfb4f7..7f2ae37 100644 (file)
@@ -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 %>