在精品课程的全部课程界面下增加公开属性
This commit is contained in:
parent
ad3626d53a
commit
863cdee37c
|
@ -6,6 +6,9 @@
|
|||
<%= link_to(course.name, course_path(course.id)) %>
|
||||
</span>
|
||||
</td>
|
||||
<td align="center">
|
||||
<%= checked_image course.is_public? %>
|
||||
</td>
|
||||
<td align="center">
|
||||
<%= link_to(course.try(:teacher).try(:realname).truncate(6, omission: '...'), user_path(course.teacher)) %>
|
||||
</td>
|
||||
|
|
|
@ -27,28 +27,31 @@
|
|||
<th style="width: 25px;">
|
||||
序号
|
||||
</th>
|
||||
<th style="width: 120px;">
|
||||
<th style="width: 105px;">
|
||||
课程名
|
||||
</th>
|
||||
<th style="width: 50px;">
|
||||
<th style="width: 35px;">
|
||||
公开
|
||||
</th>
|
||||
<th style="width: 35px;">
|
||||
主讲老师
|
||||
</th>
|
||||
<th style="width: 30px;">
|
||||
学生数
|
||||
</th>
|
||||
<th style="width: 25px;">
|
||||
<th style="width: 30px;">
|
||||
作业数
|
||||
</th>
|
||||
<th style="width: 25px;">
|
||||
<th style="width: 30px;">
|
||||
作品数
|
||||
</th>
|
||||
<th style="width: 25px;">
|
||||
<th style="width: 30px;">
|
||||
资源数
|
||||
</th>
|
||||
<th style="width: 50px;">
|
||||
<th style="width: 40px;">
|
||||
帖子数
|
||||
</th>
|
||||
<th style="width: 50px;" class = "<%= @order == 'desc' ? 'st_up' : (@order == 'asc' ? 'st_down' : '') %>">
|
||||
<th style="width: 40px;" class = "<%= @order == 'desc' ? 'st_up' : (@order == 'asc' ? 'st_down' : '') %>">
|
||||
<%=link_to '动态数', excellent_all_courses_path(:order=> @order == "desc" ? 'asc' : 'desc') %>
|
||||
</th>
|
||||
<th style="width: 40px;">
|
||||
|
|
Loading…
Reference in New Issue