From 8ed4620bb9e7b30cadea15aa6a4b499a5f165ea1 Mon Sep 17 00:00:00 2001
From: Toshi MARUYAMA
<%= l(:text_subprojects_destroy_warning, content_tag('strong', h(@project_to_destroy.descendants.collect{|p| p.to_s}.join(', ')))) %>
+
<%= l(:text_subprojects_destroy_warning,
+ content_tag('strong', h(@project_to_destroy.descendants.collect{|p| p.to_s}.join(', ')))).html_safe %>
<% end %>
diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb index 5fbb7e20e..a73bd079a 100644 --- a/test/functional/projects_controller_test.rb +++ b/test/functional/projects_controller_test.rb @@ -444,6 +444,10 @@ class ProjectsControllerTest < ActionController::TestCase assert_response :success assert_template 'destroy' assert_not_nil Project.find_by_id(1) + assert_tag :tag => 'strong', + :content => ['Private child of eCookbook', + 'Child of private child, eCookbook Subproject 1', + 'eCookbook Subproject 2'].join(', ') end def test_destroy -- 2.39.5