课程大纲的班级列表中的“主讲老师”改为“创建老师”

This commit is contained in:
cxt 2016-08-31 14:12:04 +08:00
parent a8575f2a15
commit 076feb17e8
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
<span class="<%= course.is_public == 0 ? 'hw_icon_private' : 'hw_icon_open' %> fl mr20 mt3"></span> <span class="<%= course.is_public == 0 ? 'hw_icon_private' : 'hw_icon_open' %> fl mr20 mt3"></span>
<div class="cl"></div> <div class="cl"></div>
<p class="sy_cgrey"> <p class="sy_cgrey">
<span class=" mr15">主讲老师:<%=link_to course.teacher.show_name, user_path(course.teacher), :class => 'sy_cblue' %></span> <span class=" mr15">创建老师:<%=link_to course.teacher.show_name, user_path(course.teacher), :class => 'sy_cblue' %></span>
<% if User.current.admin? || User.current.allowed_to?(:as_teacher,course) %> <% if User.current.admin? || User.current.allowed_to?(:as_teacher,course) %>
<% homework_num = course.homework_commons.count %> <% homework_num = course.homework_commons.count %>
<% else %> <% else %>