<%= l(:label_issue_plural) %>

<% html_title "#{@issue.tracker.name} #{@issue.source_from}'#'#{@issue.project_index}: #{@issue.subject}" %>
<%= @issue.project.name %> > <%= "#" + @issue.project_index %>
<%= link_to image_tag(url_to_avatar(@issue.author),:width => 46,:height => 46), user_path(@issue.author), :class => "ping_dispic" %>

<%= @issue.subject %><%= get_issue_typevalue(@issue.tracker_id) %>


<%= @issue.author %> <% if @issue.created_on != @issue.updated_on %> 更新于 <%= format_time(@issue.created_on).html_safe %> <% else %> 添加于 <%= format_time(@issue.updated_on).html_safe %> <% end %>

'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') %> <%= textilizable @issue, :description, :attachments => @issue.attachments %> <% end %>
<%= link_to_attachment_project @issue, :thumbnails => true %>
<% end -%> <%= call_hook(:view_issues_show_description_bottom, :issue => @issue) %>
<%= issue_fields_rows do |rows| %>
  • * 状态  : 

    <%= @issue.status.name %>

  • * 优先级  : 

    <%= @issue.priority.name %>
  • <% unless @issue.disabled_core_fields.include?('assigned_to_id') %>
  •  指派给  : 

    <%= @issue.assigned_to ? link_to_user(@issue.assigned_to, :class => "pro_info_p") : "-" %>
  • <% end %>
    <% unless @issue.disabled_core_fields.include?('fixed_version_id') %>
  •  目标版本  : 

    <%= (@issue.fixed_version ? link_to_version(@issue.fixed_version, :class => "pro_info_p") : "-") %>
  • <% end %>
    <% unless @issue.disabled_core_fields.include?('start_date') %>
  •  开始日期  : 

    <%= format_date(@issue.start_date) %>

  • <% end %>
    <% unless @issue.disabled_core_fields.include?('due_date') %>
  •  计划完成日期  : 

    <%= format_date(@issue.due_date) %>
  • <% end %>
    <% unless @issue.disabled_core_fields.include?('estimated_hours') %>
  •  预期时间  : 

    <%= l_hours(@issue.estimated_hours) %>
  • <% end %>
    <% unless @issue.disabled_core_fields.include?('done_ratio') %>
  •  % 完成  : 

    <%= progress_bar(@issue.done_ratio, :width => '0px', :legend => "#{@issue.done_ratio}%") %>
  • <% end %>
<% end %> <%#= render_custom_fields_rows(@issue) %> <%#= call_hook(:view_issues_show_details_bottom, :issue => @issue) %>
<%= link_to l(:button_quote), quoted_issue_path(@issue.id), :remote => true, :method => 'post', :class => 'talk_edit fr' if authorize_for('issues', 'edit') %>
<% if @journals.present? %>

<%=l(:label_history)%>

<%= render :partial => 'history', :locals => { :issue => @issue, :journals => @journals } %>
<% end %>
<%# html_title "#{@issue.tracker.name} ##{@issue.id}: #{@issue.subject}" %> <%#·= link_to_if @prev_issue_id, # "\xc2\xab #{l(:label_previous)}", # (@prev_issue_id ? issue_path(Issue.find_by_id(@prev_issue_id)) : nil), :title => "##{@prev_issue_id}" %> | <%#= link_to_if @next_issue_id, # "#{l(:label_next)} \xc2\xbb", # (@next_issue_id ? issue_path(Issue.find_by_id(@next_issue_id)) : nil), :title => "##{@next_issue_id}" %> <%#= authoring @issue.created_on, @issue.author %>. <%#= l(:label_updated_time, time_tag(@issue.updated_on)).html_safe %>. <% if @changesets.present? %>

<%=l(:label_associated_revisions)%>

<%= render :partial => 'changesets', :locals => { :changesets => @changesets} %>
<% end %>
<% if @issue.editable? %>
<%= render :partial => 'edit' %>
<% end %> <% other_formats_links do |f| %> <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %> <%= f.link_to 'PDF' %> <% end %> <% content_for :sidebar do %> <%= render :partial => 'issues/sidebar' %> <% if User.current.allowed_to?(:add_issue_watchers, @project) || (@issue.watchers.present? && User.current.allowed_to?(:view_issue_watchers, @project)) %>
<%= render :partial => 'watchers/watchers', :locals => {:watched => @issue} %>
<% end %> <% end %> <% content_for :header_tags do %> <%= auto_discovery_link_tag(:atom, {:format => 'atom', :key => User.current.rss_key}, :title => "#{@issue.project} - #{@issue.tracker} ##{@issue.id}: #{@issue.subject}") %> <% end %> <%= context_menu issues_context_menu_path %>