|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
<div id="issue_detail" style="display: block">
|
|
|
|
|
<div class="ping_dispic">
|
|
|
|
|
<div class="ping_dispic">
|
|
|
|
|
<%= link_to image_tag(url_to_avatar(@issue.author), :width => 46, :height => 46), user_path(@issue.author), :class => "ping_dispic" %>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="talk_txt fl">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="talk_txt fl">
|
|
|
|
|
<p class="pro_page_tit" style="word-break:break-all;">
|
|
|
|
|
<% case @issue.tracker_id %>
|
|
|
|
|
<% when 1%>
|
|
|
|
@ -21,31 +21,26 @@
|
|
|
|
|
<br>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
由<a href="javascript:void(0)" class="problem_name"><%= @issue.author %></a>添加于 <%= format_time(@issue.created_on).html_safe %>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!--talk_txt end-->
|
|
|
|
|
<a href="javascript:void(0)" class="talk_edit fr"> </a>
|
|
|
|
|
<%= render :partial => 'action_menu' %>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<% if @issue.description? || @issue.attachments.any? -%>
|
|
|
|
|
<!--talk_txt end-->
|
|
|
|
|
<a href="javascript:void(0)" class="talk_edit fr"> </a>
|
|
|
|
|
<%= render :partial => 'action_menu' %>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<% if @issue.description? || @issue.attachments.any? -%>
|
|
|
|
|
<div class="talk_info mb10 issue_desc" style="word-break:break-all;">
|
|
|
|
|
<% 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 %>
|
|
|
|
|
</div>
|
|
|
|
|
<% end -%>
|
|
|
|
|
<% 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 %>
|
|
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
|
|
<!--属性-->
|
|
|
|
|
<%= render :partial => 'issues/attributes_show' %>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<%# 附件局部刷新 %>
|
|
|
|
|
<div id = "div_issue_attachment_<%=@issue.id %>">
|
|
|
|
|
<%= render :partial => 'issue_attachments',:locals => {:issue => @issue} %>
|
|
|
|
|
</div>
|
|
|
|
|
<!--属性-->
|
|
|
|
|
<%= render :partial => 'issues/attributes_show' %>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|