增加批阅结果的下载,解决批阅结果下周报错
This commit is contained in:
parent
fea784cbcc
commit
bdb0f638da
|
@ -428,7 +428,7 @@ private
|
|||
@attachment.container.board.course)
|
||||
@course = @attachment.container.board.course
|
||||
else
|
||||
unless @attachment.container_type == 'Bid' || @attachment.container_type == 'HomeworkAttach' || @attachment.container_type == 'Memo' || @attachment.container_type == 'Softapplication' || @attachment.container_type == 'PhoneAppVersion'
|
||||
unless @attachment.container_type == 'Bid' || @attachment.container_type == 'HomeworkAttach' || @attachment.container_type == 'Memo' || @attachment.container_type == 'Softapplication' || @attachment.container_type == 'PhoneAppVersion' || @attachment.container_type = 'StudentWorksScore'
|
||||
@project = @attachment.project
|
||||
end
|
||||
end
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
<span class="ml5 fl">(<%= student_work_score_role score%>)</span>
|
||||
<span class="ml20 fl">评分:</span>
|
||||
<a href="javascript:void(0);" class="c_orange fl" ><%= score.score%>分</a>
|
||||
<a href="javascript:void(0);" class="fr c_purple mr5" >回复</a>
|
||||
<a href="javascript:void(0);" class="fr c_purple mr5" onclick="$('#add_score_reply_<%= score.id%>').slideToggle();">回复</a>
|
||||
<span class=" fr c_grey mr20">
|
||||
<%=format_time score.created_at %>
|
||||
</span>
|
||||
|
@ -55,9 +55,10 @@
|
|||
<p class="break_word">
|
||||
<%= score.comment%>
|
||||
</p>
|
||||
|
||||
<div class="cl"></div>
|
||||
<div id="add_score_reply_<%= score.id%>">
|
||||
<%= render :partial => 'work_attachments', :locals => {:attachments => score.attachments} %>
|
||||
<div class="cl"></div>
|
||||
<div id="add_score_reply_<%= score.id%>" class="undis">
|
||||
<%= render :partial => 'add_score_reply',:locals => {:score => score}%>
|
||||
</div>
|
||||
<div class="cl"></div>
|
||||
|
|
Loading…
Reference in New Issue