OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
[65417] WP items in bulk delete modal are misaligned (#20340)
Behrokh Satarnejadbce690124f35
diff --git a/frontend/src/app/shared/components/modals/wp-destroy-modal/wp-destroy.modal.html b/frontend/src/app/shared/components/modals/wp-destroy-modal/wp-destroy.modal.htmlindex 4c4a8536b1c..e8494a84166 100644--- a/frontend/src/app/shared/components/modals/wp-destroy-modal/wp-destroy.modal.html+++ b/frontend/src/app/shared/components/modals/wp-destroy-modal/wp-destroy.modal.html@@ -21,9 +21,11 @@</p><ul>@for (child of singleWorkPackageChildren; track child) {- <li>- #<span [textContent]="child.id"></span>- <span [textContent]="child.subject || ''"></span>+ <li class="spot-list--item">+ <div class="spot-list--item-title">+ #<span [textContent]="child.id"></span>+ <span [textContent]="child.subject || ''"></span>+ </div></li>}</ul>@@ -40,15 +42,14 @@</p><ul>@for (wp of workPackages; track wp) {- <li>- #<span [textContent]="wp.id"></span>- &ngsp;- <span [textContent]="wp.subject"></span>- @if (children(wp).length > 0) {- <strong>- (+ {{ text.childCount(wp) }})- </strong>- }+ <li class="spot-list--item">+ <div class="spot-list--item-title">+ #<span [textContent]="wp.id"></span>+ <span [textContent]="wp.subject"></span>+ @if (children(wp).length > 0) {+ <strong>(+ {{ text.childCount(wp) }})</strong>+ }+ </div></li>}</ul>diff --git a/spec/support/components/work_packages/destroy_modal.rb b/spec/support/components/work_packages/destroy_modal.rbindex 7a7221648e5..afd7b817e9e 100644--- a/spec/support/components/work_packages/destroy_modal.rb+++ b/spec/support/components/work_packages/destroy_modal.rb@@ -48,7 +48,7 @@ module Componentsexpect(page).to have_css(".danger-zone--warning",text: "Are you sure you want to delete the following work packages?")wps.each do |wp|- expect(page).to have_css("li", text: "##{wp.id} #{wp.subject}")+ expect(page).to have_css("li", text: "##{wp.id}#{wp.subject}")endendend