##// END OF EJS Templates
Remove the Description label from the issue view and omit the block if empty (#6677)....
Jean-Philippe Lang -
r4150:c058bc224549
parent child
Show More
@@ -44,18 +44,19
44 <%= render_custom_fields_rows(@issue) %>
44 <%= render_custom_fields_rows(@issue) %>
45 <%= call_hook(:view_issues_show_details_bottom, :issue => @issue) %>
45 <%= call_hook(:view_issues_show_details_bottom, :issue => @issue) %>
46 </table>
46 </table>
47 <hr />
48
47
48 <% if @issue.description? || @issue.attachments.any? -%>
49 <hr />
49 <div class="contextual">
50 <div class="contextual">
50 <%= link_to_remote_if_authorized(l(:button_quote), { :url => {:action => 'reply', :id => @issue} }, :class => 'icon icon-comment') unless @issue.description.blank? %>
51 <%= link_to_remote_if_authorized(l(:button_quote), { :url => {:action => 'reply', :id => @issue} }, :class => 'icon icon-comment') if @issue.description? %>
51 </div>
52 </div>
52
53
53 <p><strong><%=l(:field_description)%></strong></p>
54 <div class="wiki">
54 <div class="wiki">
55 <%= textilizable @issue, :description, :attachments => @issue.attachments %>
55 <%= textilizable @issue, :description, :attachments => @issue.attachments %>
56 </div>
56 </div>
57
57
58 <%= link_to_attachments @issue %>
58 <%= link_to_attachments @issue %>
59 <% end -%>
59
60
60 <%= call_hook(:view_issues_show_description_bottom, :issue => @issue) %>
61 <%= call_hook(:view_issues_show_description_bottom, :issue => @issue) %>
61
62
General Comments 0
You need to be logged in to leave comments. Login now