Wrap issue description and its contextual menu in a div (#12211).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10728 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
8a2786c91e
commit
29a474b641
|
@ -71,6 +71,7 @@ end %>
|
|||
<% if @issue.description? || @issue.attachments.any? -%>
|
||||
<hr />
|
||||
<% if @issue.description? %>
|
||||
<div class="description">
|
||||
<div class="contextual">
|
||||
<%= link_to l(:button_quote),
|
||||
{:controller => 'journals', :action => 'new', :id => @issue},
|
||||
|
@ -83,6 +84,7 @@ end %>
|
|||
<div class="wiki">
|
||||
<%= textilizable @issue, :description, :attachments => @issue.attachments %>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
<%= link_to_attachments @issue, :thumbnails => true %>
|
||||
<% end -%>
|
||||
|
|
|
@ -827,6 +827,8 @@ class IssuesControllerTest < ActionController::TestCase
|
|||
assert_template 'show'
|
||||
assert_equal Issue.find(1), assigns(:issue)
|
||||
|
||||
assert_select 'div.issue div.description', :text => /Unable to print recipes/
|
||||
|
||||
# anonymous role is allowed to add a note
|
||||
assert_select 'form#issue-form' do
|
||||
assert_select 'fieldset' do
|
||||
|
|
Loading…
Reference in New Issue