Patch #21085 ยป 0001-Optimize-issue-edit-description-link.patch
app/views/issues/_form.html.erb | ||
---|---|---|
24 | 24 |
<% if @issue.safe_attribute? 'description' %> |
25 | 25 |
<p> |
26 | 26 |
<%= f.label_for_field :description, :required => @issue.required_attribute?('description') %> |
27 |
<%= link_to_function image_tag('edit.png'), '$(this).hide(); $("#issue_description_and_toolbar").show()' unless @issue.new_record? %>
|
|
27 |
<%= link_to_function content_tag(:span, l(:button_edit), :class => 'icon icon-edit'), '$(this).hide(); $("#issue_description_and_toolbar").show()' unless @issue.new_record? %>
|
|
28 | 28 |
<%= content_tag 'span', :id => "issue_description_and_toolbar", :style => (@issue.new_record? ? nil : 'display:none') do %> |
29 | 29 |
<%= f.text_area :description, |
30 | 30 |
:cols => 60, |