<%= link_to image_tag(url_to_avatar(@issue.author), :width => 46, :height => 46), user_path(@issue.author), :class => "ping_dispic" %>

<% case @issue.tracker_id %> <% when 1%> 【缺陷】 <% when 2%> 【功能】 <% when 3%> 【支持】 <% when 4%> 【任务】 <% when 5%> 【周报】 <% end %> <%= @issue.subject %> <%= get_issue_priority(@issue.priority_id)[1] %>


由<%=link_to @issue.author, user_path(@issue.author), :class => "link-blue" %>添加于 <%= format_time(@issue.created_on).html_safe %>
<%= render :partial => 'action_menu' %>
<% if @issue.description? || @issue.attachments.any? -%>
<% if @issue.description? %> <%#= link_to l(:button_quote), quoted_issue_path(@issue.id), :remote => true, :method => 'post', :class => 'icon icon-comment' if authorize_for('issues', 'edit') %> <%= textAreailizable @issue, :description, :attachments => @issue.attachments %> <% end %>
<% end -%> <%# 附件局部刷新 %>
<%= render :partial => 'issue_attachments',:locals => {:issue => @issue} %>
<%= render :partial => 'issues/attributes_show' %>