|
|
|
@ -114,10 +114,18 @@
|
|
|
|
|
|
|
|
|
|
<td class="font_index">
|
|
|
|
|
<!-- 1 教师; 2 学生;0 全部-->
|
|
|
|
|
<%= link_to "#{teacherCount(@project)}", project_member_path(@project, :role => 1), :course => '1' %>
|
|
|
|
|
<% if User.current.member_of?(@project) %>
|
|
|
|
|
<%= link_to "#{teacherCount(@project)}", project_member_path(@project, :role => 1), :course => '1' %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<span><%= teacherCount(@project)%></span> <!--<%= link_to "#{teacherCount(@project)}", "javascript:void(0)", :course => '1' %>-->
|
|
|
|
|
<% end%>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="font_index">
|
|
|
|
|
<%= link_to "#{studentCount(@project)}", project_member_path(@project, :role => 2), :course => '1' %>
|
|
|
|
|
<% if User.current.member_of?(@project) %>
|
|
|
|
|
<%= link_to "#{studentCount(@project)}", project_member_path(@project, :role => 2), :course => '1' %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<span><%= studentCount(@project)%></span>
|
|
|
|
|
<% end %>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="font_index"><%= link_to files_count, project_files_path(@project) %></td>
|
|
|
|
|
<tr class="font_aram">
|
|
|
|
|