From 606b2d0587ef2bb0417ba6ec64145c6e88480f7a Mon Sep 17 00:00:00 2001 From: baiyu Date: Sat, 2 Nov 2013 11:06:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E6=88=91=E7=9A=84=E4=B8=BB=E9=A1=B5?= =?UTF-8?q?=E7=9A=84=E2=80=9C=E8=AF=BE=E7=A8=8B=E2=80=9D=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E9=87=8C=E5=8A=A0=E5=85=A5=E4=BA=86=E2=80=9C=E4=B8=BB=E8=AE=B2?= =?UTF-8?q?=E6=95=99=E5=B8=88=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_course_form.html.erb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/users/_course_form.html.erb b/app/views/users/_course_form.html.erb index 610c9e63..1da44c9b 100644 --- a/app/views/users/_course_form.html.erb +++ b/app/views/users/_course_form.html.erb @@ -29,8 +29,10 @@

- - + <% @course = Course.find_by_extra(membership.project.identifier)%> + <% unless @course.nil? %> + <%= l(:label_main_teacher) %> : <%= link_to(@course.teacher.show_name, user_path(@course.teacher)) %> + <% end %> <%= l(:label_create_time) %> :<%= format_time(membership.created_on) %>