班级首页顶部加上主讲老师的链接
This commit is contained in:
parent
65f6b0fc70
commit
8de8035441
|
@ -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') %>
|
||||
>
|
||||
<% if @course.syllabus %>
|
||||
<%=link_to @course.syllabus.title, syllabus_path(@course.syllabus_id), :class => 'sy_cgrey' %>
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue