|
|
@ -7,8 +7,12 @@
|
|
|
|
<div class="mb10" id="revise_attachment_div_<%=revise_attachment.id %>">
|
|
|
|
<div class="mb10" id="revise_attachment_div_<%=revise_attachment.id %>">
|
|
|
|
<span class="tit_fb"> 追加附件:</span>
|
|
|
|
<span class="tit_fb"> 追加附件:</span>
|
|
|
|
<%= render :partial => 'work_attachments_status', :locals => {:attachments => work.attachments.where("attachtype = 7"), :status => 2} %>
|
|
|
|
<%= render :partial => 'work_attachments_status', :locals => {:attachments => work.attachments.where("attachtype = 7"), :status => 2} %>
|
|
|
|
<span class="tit_fb">追加时间:</span><%=format_time revise_attachment.created_on.to_s %> (<%=revise_attachment_status @homework,revise_attachment %>)
|
|
|
|
<span class="tit_fb">追加时间:</span><%=format_time revise_attachment.created_on.to_s %> (<%=revise_attachment_status @homework,revise_attachment %>)<br />
|
|
|
|
|
|
|
|
<% unless revise_attachment.description == "" %>
|
|
|
|
|
|
|
|
<span class="tit_fb">附件描述:</span><p class="showHworkP"><%=revise_attachment.description %></p>
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% if work.user == User.current %>
|
|
|
|
<% if work.user == User.current %>
|
|
|
|
<div class="resubAtt mb15">
|
|
|
|
<div class="resubAtt mb15">
|
|
|
@ -18,10 +22,14 @@
|
|
|
|
<div class="mb10" id="revise_attachment_div_<%=revise_attachment.id %>">
|
|
|
|
<div class="mb10" id="revise_attachment_div_<%=revise_attachment.id %>">
|
|
|
|
<span class="tit_fb"> 追加附件:</span>
|
|
|
|
<span class="tit_fb"> 追加附件:</span>
|
|
|
|
<%= render :partial => 'work_attachments_status', :locals => {:attachments => work.attachments.where("attachtype = 7"), :status => 1} %>
|
|
|
|
<%= render :partial => 'work_attachments_status', :locals => {:attachments => work.attachments.where("attachtype = 7"), :status => 1} %>
|
|
|
|
<span class="tit_fb">追加时间:</span><%=format_time revise_attachment.created_on.to_s %>
|
|
|
|
<span class="tit_fb">追加时间:</span><%=format_time revise_attachment.created_on.to_s %><br />
|
|
|
|
|
|
|
|
<% unless revise_attachment.description == "" %>
|
|
|
|
|
|
|
|
<span class="tit_fb">附件描述:</span><p class="showHworkP"><%=revise_attachment.description %></p>
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<div class="mb10">
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
|
|
|
<div class="mb10 mt5">
|
|
|
|
<a href="javascript:void(0);" onclick="show_upload();" class="blueCir ml5" title="请选择文件上传">上传附件</a>
|
|
|
|
<a href="javascript:void(0);" onclick="show_upload();" class="blueCir ml5" title="请选择文件上传">上传附件</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|