diff options
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/_members.rhtml | 2 | ||||
-rw-r--r-- | app/views/projects/list_members.rhtml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/_members.rhtml b/app/views/projects/_members.rhtml index 01430d19b..1924e430a 100644 --- a/app/views/projects/_members.rhtml +++ b/app/views/projects/_members.rhtml @@ -12,7 +12,7 @@ <% @project.members.find(:all, :include => [:role, :user]).sort{|x,y| x.role.position <=> y.role.position}.each do |member| %> <% next if member.new_record? %> <tr class="<%= cycle 'odd', 'even' %>"> - <td><%= member.user.display_name %></td> + <td><%= member.name %></td> <td align="center"> <% if authorize_for('members', 'edit') %> <% remote_form_for(:member, member, :url => {:controller => 'members', :action => 'edit', :id => member}, :method => :post) do |f| %> diff --git a/app/views/projects/list_members.rhtml b/app/views/projects/list_members.rhtml index c4d3ec466..fcfb4f7c0 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.user.display_name, :controller => 'account', :action => 'show', :id => m.user %> (<%= format_date m.created_on %>)</li> +<li><%= link_to m.name, :controller => 'account', :action => 'show', :id => m.user %> (<%= format_date m.created_on %>)</li> <% end %> </ul> <% end %> |