From: Jean-Philippe Lang Date: Sat, 18 Dec 2010 13:40:50 +0000 (+0000) Subject: Fixed: issue description Quote button lost by r3941 (#7122). X-Git-Tag: 1.1.0~66 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0c24f88ce1c72a0b551bb8dfd84bc35725545db6;p=redmine.git Fixed: issue description Quote button lost by r3941 (#7122). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4530 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml index 0fa1076e5..cfe0288ff 100644 --- a/app/views/issues/show.rhtml +++ b/app/views/issues/show.rhtml @@ -49,7 +49,7 @@
<% if @issue.description? %>
- <%= link_to_remote_if_authorized(l(:button_quote), { :url => {:action => 'reply', :id => @issue} }, :class => 'icon icon-comment') %> + <%= link_to_remote_if_authorized(l(:button_quote), { :url => {:controller => 'journals', :action => 'new', :id => @issue} }, :class => 'icon icon-comment') %>

<%=l(:field_description)%>

diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 3aeb95bd2..b21b28e66 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -281,6 +281,9 @@ class IssuesControllerTest < ActionController::TestCase get :show, :id => 1 assert_response :success + assert_tag :tag => 'a', + :content => /Quote/ + assert_tag :tag => 'form', :descendant => { :tag => 'fieldset', :child => { :tag => 'legend',