附件描述-》追加理由

This commit is contained in:
cxt 2015-12-28 15:17:16 +08:00
parent 7bc030b789
commit c821826bd8
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
<%= 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 %>&nbsp;&nbsp;(<%=revise_attachment_status @homework,revise_attachment %>)<br /> <span class="tit_fb">追加时间:</span><%=format_time revise_attachment.created_on.to_s %>&nbsp;&nbsp;(<%=revise_attachment_status @homework,revise_attachment %>)<br />
<% unless revise_attachment.description == "" %> <% unless revise_attachment.description == "" %>
<span class="tit_fb">附件描述</span><p class="showHworkP"><%=revise_attachment.description %></p> <span class="tit_fb">追加理由</span><p class="showHworkP"><%=revise_attachment.description %></p>
<% end %> <% end %>
</div> </div>
<div class="cl"></div> <div class="cl"></div>
@ -24,7 +24,7 @@
<%= 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 %><br /> <span class="tit_fb">追加时间:</span><%=format_time revise_attachment.created_on.to_s %><br />
<% unless revise_attachment.description == "" %> <% unless revise_attachment.description == "" %>
<span class="tit_fb">附件描述</span><p class="showHworkP"><%=revise_attachment.description %></p> <span class="tit_fb">追加理由</span><p class="showHworkP"><%=revise_attachment.description %></p>
<% end %> <% end %>
</div> </div>
<% end %> <% end %>