GitLab wurde aktualisiert. Dank regelmäßiger Updates bleibt das THM GitLab sicher und Sie profitieren von den neuesten Funktionen. Vielen Dank für Ihre Geduld.

Commit 5b48283d authored by jplang's avatar jplang
Browse files

Wrap issue description and its contextual menu in a div (#12211).

git-svn-id: https://svn.redmine.org/redmine/trunk@10728 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent bab803a9
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment