在课程列表下增加动态时间一栏

This commit is contained in:
daiao 2016-06-28 15:06:08 +08:00
parent 863cdee37c
commit d8284e45ed
1 changed files with 9 additions and 3 deletions

View File

@ -25,10 +25,10 @@
<th style="width: 30px;">
序号
</th>
<th style="width: 120px;">
<th style="width: 85px;">
课程
</th>
<th style="width: 50px;">
<th style="width: 35px;">
主讲老师
</th>
<th style="width: 30px;">
@ -37,9 +37,12 @@
<th style="width: 20px;">
<%=l(:field_is_public)%>
</th>
<th style="width: 70px;">
<th style="width: 60px;">
<%=l(:field_created_on)%>
</th>
<th style="width: 65px;">
动态时间
</th>
</tr>
</thead>
<tbody>
@ -65,6 +68,9 @@
<td class="center">
<%= format_date(course.created_at) %>
</td>
<td class="center">
<%= course.updated_at.strftime('%Y-%m-%d %H:%M:%S') %>
</td>
</tr>
<% end %>
</tbody>