|
|
|
@ -12,7 +12,7 @@
|
|
|
|
|
<%= 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">
|
|
|
|
|
<p class="pro_page_tit" >
|
|
|
|
|
<p class="pro_page_tit" style="word-break:break-all;" >
|
|
|
|
|
<%= @issue.subject %><span class='<%= "#{get_issue_type(@issue.tracker_id)}" %>'><%= get_issue_typevalue(@issue.tracker_id) %></span></p><br />
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<p>由<a href="javascript:void(0)" class="problem_name"><%= @issue.author %></a>
|
|
|
|
@ -24,7 +24,7 @@
|
|
|
|
|
</div><!--talk_txt end-->
|
|
|
|
|
<a href="javascript:void(0)" class="talk_edit fr"<%= render :partial => 'action_menu' %></a>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<div class="talk_info mb10">
|
|
|
|
|
<div class="talk_info mb10" style="word-break:break-all;">
|
|
|
|
|
<% 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') %>
|
|
|
|
@ -90,71 +90,14 @@
|
|
|
|
|
<%= link_to l(:button_quote), quoted_issue_path(@issue.id), :remote => true, :method => 'post', :class => 'talk_edit fr' if authorize_for('issues', 'edit') %></a>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div><!--problem_main end-->
|
|
|
|
|
|
|
|
|
|
<!--留言-->
|
|
|
|
|
<% if @journals.present? %>
|
|
|
|
|
<div id="history">
|
|
|
|
|
<h3><%=l(:label_history)%></h3>
|
|
|
|
|
<%= render :partial => 'history', :locals => { :issue => @issue, :journals => @journals } %>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div><!--pro_page_box end-->
|
|
|
|
|
<%# html_title "#{@issue.tracker.name} ##{@issue.id}: #{@issue.subject}" %>
|
|
|
|
|
|
|
|
|
|
<!--<div class="<%#= @issue.css_classes %> details">-->
|
|
|
|
|
<!--<%#· if @prev_issue_id || @next_issue_id %>-->
|
|
|
|
|
<!--<div class="next-prev-links contextual">-->
|
|
|
|
|
<%#·= 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}" %> |
|
|
|
|
|
<!--<%# if @issue_position && @issue_count %>-->
|
|
|
|
|
<!--<span class="position"><%#= l(:label_item_position, :position => @issue_position, :count => @issue_count) %></span> |-->
|
|
|
|
|
<!--<%# end %>-->
|
|
|
|
|
<%#= 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}" %>
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--<%# end %>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 顶和踩 在这里添加 -->
|
|
|
|
|
<!--<span id="praise_tread" style="float: right">-->
|
|
|
|
|
<!--<%#= render :partial => "/praise_tread/praise_tread",:locals => {:obj => @issue,:show_flag => true,:user_id =>User.current.id,:horizontal => false}%>-->
|
|
|
|
|
<!--</span>-->
|
|
|
|
|
|
|
|
|
|
<!--<p class="author">-->
|
|
|
|
|
<%#= authoring @issue.created_on, @issue.author %>.
|
|
|
|
|
<!--<%# if @issue.created_on != @issue.updated_on %>-->
|
|
|
|
|
<%#= l(:label_updated_time, time_tag(@issue.updated_on)).html_safe %>.
|
|
|
|
|
<!--<%# end %>-->
|
|
|
|
|
<!--</p>-->
|
|
|
|
|
<!-- added by william -for tag -->
|
|
|
|
|
<!--<div id="tags">-->
|
|
|
|
|
<!--<%#= render :partial => 'tags/tag', :locals => {:obj => @issue,:object_flag => "3" }%>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
|
|
|
|
|
<!--<%# if false # !@issue.leaf? || User.current.allowed_to?(:manage_subtasks, @project) %>-->
|
|
|
|
|
<!--<hr />-->
|
|
|
|
|
|
|
|
|
|
<!--<div id="issue_tree">-->
|
|
|
|
|
<!--<div class="contextual">-->
|
|
|
|
|
<!--<%#= link_to_new_subtask(@issue) if User.current.allowed_to?(:manage_subtasks, @project) %>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
|
|
|
|
|
<!--<p><strong><%#=l(:label_subtask_plural)%></strong></p>-->
|
|
|
|
|
<!--<%#= render_descendants_tree(@issue) unless @issue.leaf? %>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--<%# end %>-->
|
|
|
|
|
|
|
|
|
|
<!--<%# if @relations.present? || User.current.allowed_to?(:manage_issue_relations, @project) %>-->
|
|
|
|
|
<!--<hr />-->
|
|
|
|
|
<!--<div id="relations">-->
|
|
|
|
|
<!--<%#= render :partial => 'relations' %>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<!--<%# end %>-->
|
|
|
|
|
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<% if @changesets.present? %>
|
|
|
|
|
<div id="issue-changesets">
|
|
|
|
@ -162,9 +105,7 @@
|
|
|
|
|
<%= render :partial => 'changesets', :locals => { :changesets => @changesets} %>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
<!--留言-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--留言-- end>
|
|
|
|
|
<!--<div style="clear: both;"></div>-->
|
|
|
|
|
<!--<%#= render :partial => 'action_menu' %>-->
|
|
|
|
|
|
|
|
|
|