|
|
|
@ -50,11 +50,11 @@
|
|
|
|
|
<%= student_work.group_id == 0 ? '--' : '分组'+student_work.group_id.to_s %>
|
|
|
|
|
</td>
|
|
|
|
|
<% if @homework.homework_detail_group.base_on_project == 1 %>
|
|
|
|
|
<td class="student_score_info pr">
|
|
|
|
|
<td class="student_score_info pr inlineblock">
|
|
|
|
|
<% if student_work.project %>
|
|
|
|
|
<% project = student_work.project %>
|
|
|
|
|
<% if project.status != 9 && (project.is_public || User.current.member_of?(project) || @is_teacher) %>
|
|
|
|
|
<%= link_to project.name, project_path(project.id), :class => 'color-grey3 task-hide', :style => "max-width:120px;", :title => "项目名称", :target => "_blank" %>
|
|
|
|
|
<%= link_to project.name, project_path(project.id), :class => 'color-grey3 task-hide inlineblock', :style => "max-width:120px;", :title => "项目名称", :target => "_blank" %>
|
|
|
|
|
<% elsif project.status != 9 %>
|
|
|
|
|
<span class="task-hide" style="display: block; max-width:120px;" title="该项目是私有的"><%= project.name %></span>
|
|
|
|
|
<% else %>
|
|
|
|
|