diff --git a/app/views/bids/_list_projects.html.erb b/app/views/bids/_list_projects.html.erb index ce24a4457..e987dca5e 100644 --- a/app/views/bids/_list_projects.html.erb +++ b/app/views/bids/_list_projects.html.erb @@ -176,7 +176,7 @@ <%= l(:label_bidding_user_homework) %> : <% unless b_project.user.nil? %> - <%= link_to(b_project.user.lastname+b_project.user.firstname, user_path(b_project.user)) %> + <%= link_to(b_project.user.name, user_path(b_project.user)) %> <% end %> @@ -194,7 +194,7 @@ <%= l(:label_bidding_user) %> <% end %> <% unless b_project.user.nil? %> - <%= b_project.user.lastname %><%= b_project.user.firstname %> + <%= b_project.user.name %> <% end %>

diff --git a/app/views/projects/_project.html.erb b/app/views/projects/_project.html.erb index a64038424..4feddc675 100644 --- a/app/views/projects/_project.html.erb +++ b/app/views/projects/_project.html.erb @@ -72,11 +72,9 @@ <% else %> <%= content_tag('span', "#{l(:default_role_manager)}: ") %> <% end %> - - <% @admin = @project.project_infos%> <% if @admin.size > 0 %> - <%= content_tag('a', @admin.collect{|u| link_to(u.user.lastname+u.user.firstname, user_path(u.user_id))}.join(", ").html_safe) %> + <%= content_tag('a', @admin.collect{|u| link_to(u.user.name, user_path(u.user_id))}.join(", ").html_safe) %> <% end %> <% if(@project.project_type==1)%>    <%= l(:label_course_college) %>: