在我的主页的“课程”列表里加入了“主讲教师”
This commit is contained in:
parent
fb54fcbe86
commit
606b2d0587
|
@ -29,8 +29,10 @@
|
||||||
</p></td>
|
</p></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td>
|
<tr><td>
|
||||||
|
<% @course = Course.find_by_extra(membership.project.identifier)%>
|
||||||
|
<% 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>
|
||||||
|
<% end %>
|
||||||
<span class="font_lighter" style="float: right"><%= l(:label_create_time) %> :<%= format_time(membership.created_on) %></span>
|
<span class="font_lighter" style="float: right"><%= l(:label_create_time) %> :<%= format_time(membership.created_on) %></span>
|
||||||
</td></tr>
|
</td></tr>
|
||||||
</table></td>
|
</table></td>
|
||||||
|
|
Loading…
Reference in New Issue