summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-29 10:17:07 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-29 10:17:07 +0000
commita399924b49470af6c865ee746794a142149f41c1 (patch)
treed8901fc04c19e111dc73efe5cfe5ac76271b7e87
parent8584ab80f28e170fc2a563fbbc3dfa89715c61ff (diff)
downloadredmine-a399924b49470af6c865ee746794a142149f41c1.tar.gz
redmine-a399924b49470af6c865ee746794a142149f41c1.zip
Optimize issue edit description link (#21085).
Patch by Felix Gliesche. git-svn-id: http://svn.redmine.org/redmine/trunk@14753 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/issues/_form.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/_form.html.erb b/app/views/issues/_form.html.erb
index c071cb0e1..7d956920f 100644
--- a/app/views/issues/_form.html.erb
+++ b/app/views/issues/_form.html.erb
@@ -24,7 +24,7 @@
<% if @issue.safe_attribute? 'description' %>
<p>
<%= f.label_for_field :description, :required => @issue.required_attribute?('description') %>
- <%= link_to_function image_tag('edit.png'), '$(this).hide(); $("#issue_description_and_toolbar").show()' unless @issue.new_record? %>
+ <%= link_to_function content_tag(:span, l(:button_edit), :class => 'icon icon-edit'), '$(this).hide(); $("#issue_description_and_toolbar").show()' unless @issue.new_record? %>
<%= content_tag 'span', :id => "issue_description_and_toolbar", :style => (@issue.new_record? ? nil : 'display:none') do %>
<%= f.text_area :description,
:cols => 60,