Skip to content

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

Change position of cancel + info icons

Oliver Güntherc877886f26f2
diff --git a/frontend/src/app/components/wp-card-view/wp-single-card/wp-single-card.component.html b/frontend/src/app/components/wp-card-view/wp-single-card/wp-single-card.component.html
index 6aa27db5e3f..20ff28dcffc 100644
--- a/frontend/src/app/components/wp-card-view/wp-single-card/wp-single-card.component.html
+++ b/frontend/src/app/components/wp-card-view/wp-single-card/wp-single-card.component.html
@@ -6,6 +6,12 @@
</div>
<div class="wp-card--inline-buttons hidden-for-mobile">
+ <a class="wp-card--details-button -no-decoration"
+ *ngIf="!workPackage.isNew && showInfoButton"
+ [title]="text.detailsView"
+ (accessibleClick)="openSplitScreen(workPackage)">
+ <op-icon icon-classes="icon icon-info2"></op-icon>
+ </a>
<a class="wp-card--inline-cancel-button -no-decoration"
*ngIf="workPackage.isNew || showRemoveButton"
[ngClass]="{ '-show': workPackage.isNew }"
@@ -13,12 +19,6 @@
(accessibleClick)="onRemoved(workPackage)">
<op-icon icon-classes="icon icon-close"></op-icon>
</a>
- <a class="wp-card--details-button -no-decoration"
- *ngIf="!workPackage.isNew && showInfoButton"
- [title]="text.detailsView"
- (accessibleClick)="openSplitScreen(workPackage)">
- <op-icon icon-classes="icon icon-info2"></op-icon>
- </a>
</div>
<edit-form [resource]="workPackage"
[inEditMode]="workPackage.isNew"