<%= link_to image_tag(url_to_avatar(activity.author), :width => "90", :height => "90"), user_path(activity.author_id), :alt => "用户头像" %>
<% if activity.try(:author).try(:realname) == ' ' %> <%= link_to activity.try(:author), user_path(activity.author_id), :class => "newsBlue mr15" %> <% else %> <%= link_to activity.try(:author).try(:realname), user_path(activity.author_id), :class => "newsBlue mr15" %> <% end %> TO <%=activity.project.name %>(项目名称)
<%=activity.subject %>(缺陷标题)<%=activity.status.name %>
(缺陷描述)<%=activity.description.html_safe %>
<% if activity.attachments.any? %> <% activity.attachments.each do |attachment| %>

<%= link_to_short_attachment attachment, :class => 'homepagePostFileAtt newsBlue', :download => true -%>
<% if attachment.is_text? %> <%= link_to image_tag('magnifier.png'), :controller => 'attachments', :action => 'show', :id => attachment, :filename => attachment.filename %> <% end %> <%= number_to_human_size attachment.filesize %>

<% end %> <% end %>
回复(5)
2015-07-26
用户头像
尹教授 2015-08-01删除
请大家说下软件工程是什么!
用户头像
Tang 学生 2015-08-01删除
软件工程是一门研究用工程化方法构建和维护有效的、实用的和高质量的软件的学科。它涉及程序设计语言、数据库、软件开发工具、系统平台、标准、设计模式等方面。