This commit is contained in:
baiyu 2013-11-06 09:25:05 +08:00
parent 17317da314
commit 0f3eb9cf87
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@
</p></td> </p></td>
</tr> </tr>
<tr><td> <tr><td>
<!-- added by bai -->
<% @course = Course.find_by_extra(membership.project.identifier)%> <% @course = Course.find_by_extra(membership.project.identifier)%>
<% unless @course.nil? %> <% unless @course.nil? %>
<span class="font-lighter" style="float: left"><%= l(:label_main_teacher) %> : <%= link_to(@course.teacher.show_name, user_path(@course.teacher)) %></span> <span class="font-lighter" style="float: left"><%= l(:label_main_teacher) %> : <%= link_to(@course.teacher.show_name, user_path(@course.teacher)) %></span>