摘要: 在{BitNami Redmine Stack}\apps\redmine\htdocs\app\views\attachments\_links.html.erb 的最后面增加以下内容即可:<% images = attachments.select { |a| a.image? } %><% unless images.empty? %><div class='images'><% images.each do |attachment| %><%= link_to image_tag(url_for({:controll 阅读全文
posted @ 2012-08-10 14:15 深圳大漠 阅读(3993) 评论(0) 推荐(0) 编辑