未配置班级列表的班级重命名

This commit is contained in:
cxt 2016-07-11 15:32:01 +08:00
parent b4e6561e50
commit d21eaf9154
2 changed files with 11 additions and 4 deletions

View File

@ -17,7 +17,8 @@
</td> </td>
<td class="center"> <td class="center">
<%= course.is_delete == 0 ? '正常' : '归档' %> <%= course.is_delete == 0 ? '正常' : '归档' %>
</td><td class="center"> </td>
<td class="center">
<%= format_date(course.created_at) %> <%= format_date(course.created_at) %>
</td> </td>
<td class="center"> <td class="center">

View File

@ -27,10 +27,10 @@
<table class="list" style="width: 100%;table-layout: fixed"> <table class="list" style="width: 100%;table-layout: fixed">
<thead> <thead>
<tr> <tr>
<th style="width: 30px;"> <th style="width: 20px;">
序号 序号
</th> </th>
<th style="width: 85px;"> <th style="width: 70px;">
班级 班级
</th> </th>
<th style="width: 35px;"> <th style="width: 35px;">
@ -42,6 +42,9 @@
<th style="width: 15px;"> <th style="width: 15px;">
<%=l(:field_is_public)%> <%=l(:field_is_public)%>
</th> </th>
<th style="width: 20px;">
状态
</th>
<th style="width: 45px;"> <th style="width: 45px;">
<%=l(:field_created_on)%> <%=l(:field_created_on)%>
</th> </th>
@ -63,7 +66,7 @@
<td style="text-align: center;"> <td style="text-align: center;">
<%= course.id %> <%= course.id %>
</td> </td>
<td style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" class="name" title='<%=course.name%>'> <td style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" class="name" title='<%=course.name%>' id="syllabus_course_name_<%=course.id %>">
<span> <span>
<a title="<%=course.name %>" id="rename_course_name_<%=course.id %>" ondblclick="rename_course_name($(this),'<%=course.name %>','<%=course.id %>');"><%= course.name%></a> <a title="<%=course.name %>" id="rename_course_name_<%=course.id %>" ondblclick="rename_course_name($(this),'<%=course.name %>','<%=course.id %>');"><%= course.name%></a>
</span> </span>
@ -77,6 +80,9 @@
<td class="center"> <td class="center">
<%= checked_image course.is_public? %> <%= checked_image course.is_public? %>
</td> </td>
<td class="center">
<%= course.is_delete == 0 ? '正常' : '归档' %>
</td>
<td class="center"> <td class="center">
<%= format_date(course.created_at) %> <%= format_date(course.created_at) %>
</td> </td>