|
|
|
@ -161,6 +161,7 @@
|
|
|
|
|
<div class="user_underline"></div>
|
|
|
|
|
|
|
|
|
|
<!-- info -->
|
|
|
|
|
<% unless @bid.attachments.empty? %>
|
|
|
|
|
<div class="inf_user_image">
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
@ -172,10 +173,8 @@
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td valign="top" colspan="2">
|
|
|
|
|
<% if @bid.attachments.any?%>
|
|
|
|
|
<% options = {:author => true,:deletable => (@bid.author.id == User.current.id || User.current.admin? ? true : false),:wrap => true,:length => 7} %>
|
|
|
|
|
<%= render :partial => 'attachments/links', :locals => {:attachments => @bid.attachments, :options => options} %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
@ -183,9 +182,9 @@
|
|
|
|
|
<%#= @bid.homework_type==Bid::HomeworkFile ? "提交文件" : "提交项目" %>
|
|
|
|
|
</td-->
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
<% end%>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- end -->
|
|
|
|
|