<% if issue.attachments.any? %> <div class="pro_pic_box mb10"> <a href="javascript:void(0)" class="link_img fl"> <!--显示附件、图片--> <%= link_to_attachment_project issue, :thumbnails => true %> </a><br/> <%= call_hook(:view_issues_show_description_bottom, :issue => issue) %> </div><!--pro_pic_box end--> <div class="cl"></div> <% end %>