|
|
|
@ -80,13 +80,28 @@
|
|
|
|
|
<% files_count += version.attachments.count %>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<td class="font_index"><%= link_to "#{@project.members.count}", project_member_path(@project) ,:course =>'1'%></td>
|
|
|
|
|
|
|
|
|
|
<td class="font_index">
|
|
|
|
|
<!-- %= link_to "#{@project.members.count}", project_member_path(@project) ,:course =>'1'% -->
|
|
|
|
|
<!-- 1 教师; 2 学生;0 全部-->
|
|
|
|
|
<%= link_to "#{teacherCount(@project)}", project_member_path(@project, :role => 1) ,:course =>'1'%>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="font_index">
|
|
|
|
|
<%= link_to "#{studentCount(@project)}", project_member_path(@project, :role => 2) ,:course =>'1'%>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="font_index"><%= link_to files_count, project_files_path(@project) %></td>
|
|
|
|
|
<tr class="font_aram">
|
|
|
|
|
<td align="center" width="80px"> <%= l(:label_x_base_courses_member, :count => @project.members.count) %></td>
|
|
|
|
|
<td align="center" width="80px" id="teacherCount">
|
|
|
|
|
<!-- %= l(:label_x_base_courses_member, :count => @project.members.count) % -->
|
|
|
|
|
<%= l(:label_x_base_courses_teacher, :count => teacherCount(@project)) %>
|
|
|
|
|
</td>
|
|
|
|
|
<td align="center" width="80px" id="studentCount">
|
|
|
|
|
<%= l(:label_x_base_courses_student, :count => studentCount(@project)) %>
|
|
|
|
|
<!-- %= l(:label_x_course_data, :count => files_count) % -->
|
|
|
|
|
</td>
|
|
|
|
|
<td align="center" width="80px">
|
|
|
|
|
<%= l(:label_x_course_data, :count => files_count) %>
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
<td align="center" width="80px"><%= l(:label_x_course_data, :count => files_count) %></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
<div class="user_underline"></div>
|
|
|
|
@ -188,6 +203,7 @@
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<%= render :partial => 'layouts/base_footer'%>
|
|
|
|
|
<%= debug(params) if Rails.env.development? %>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="ajax-indicator" style="display:none;">
|
|
|
|
|