]> source.dussan.org Git - redmine.git/commitdiff
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 62979172a8fed1baaa47641c2e146b8d60d60434..165308efdab9deba9e5079a4821c3b6220b920b5 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 fcfb4f7c0dcec245b15c3c2a0c3932521422105f..7f2ae37957556fb322b5c25308848e1a347ec925 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 %>