班级首页顶部加上主讲老师的链接

This commit is contained in:
cxt 2016-08-09 16:17:58 +08:00
parent 65f6b0fc70
commit 8de8035441
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,8 @@
<% student_num = studentCount(@course) %>
<% course_file_num = visable_attachemnts_incourse(@course).count %>
<p class="sy_cgrey mb10">
<%= link_to(@course.teacher.show_name, user_path(@course.teacher), :class => 'sy_cgrey') %>
&nbsp;&gt;&nbsp;
<% if @course.syllabus %>
<%=link_to @course.syllabus.title, syllabus_path(@course.syllabus_id), :class => 'sy_cgrey' %>
&nbsp;&gt;&nbsp;