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

Add missing cancel button classes

Oliver Günther9b459ce80080
diff --git a/frontend/src/app/features/boards/new-board-modal/new-board-modal.html b/frontend/src/app/features/boards/new-board-modal/new-board-modal.html
index 8091f21aae8..bf157eb7b59 100644
--- a/frontend/src/app/features/boards/new-board-modal/new-board-modal.html
+++ b/frontend/src/app/features/boards/new-board-modal/new-board-modal.html
@@ -34,7 +34,7 @@
<div class="spot-action-bar--right">
<button
type="button"
- class="button button_no-margin spot-action-bar--action"
+ class="button button_no-margin spot-action-bar--action spot-modal--cancel-button"
(click)="closeMe()"
>
{{ text.cancel_button }}
diff --git a/frontend/src/app/features/invite-user-modal/principal/principal.component.html b/frontend/src/app/features/invite-user-modal/principal/principal.component.html
index 9d17eeb92ae..78058771286 100644
--- a/frontend/src/app/features/invite-user-modal/principal/principal.component.html
+++ b/frontend/src/app/features/invite-user-modal/principal/principal.component.html
@@ -119,7 +119,7 @@
<div class="spot-action-bar--right">
<button
type="button"
- class="button button_no-margin spot-action-bar--action"
+ class="button button_no-margin spot-action-bar--action spot-modal--cancel-button"
(click)="close.emit()"
>
{{ text.principal.cancelButton }}
diff --git a/frontend/src/app/features/invite-user-modal/project-selection/project-selection.component.html b/frontend/src/app/features/invite-user-modal/project-selection/project-selection.component.html
index 6ce9a6a7ddd..4d33ba5c80c 100644
--- a/frontend/src/app/features/invite-user-modal/project-selection/project-selection.component.html
+++ b/frontend/src/app/features/invite-user-modal/project-selection/project-selection.component.html
@@ -66,7 +66,7 @@
<div class="spot-action-bar--right">
<button
type="button"
- class="button spot-action-bar--action"
+ class="button spot-action-bar--action spot-modal--cancel-button"
(click)="close.emit()"> {{ text.cancelButton }}
</button>
<button class="button -highlight spot-action-bar--action">{{ text.nextButton }}</button>
diff --git a/frontend/src/app/features/invite-user-modal/summary/summary.component.html b/frontend/src/app/features/invite-user-modal/summary/summary.component.html
index 1e3963203bb..7316591a0ef 100644
--- a/frontend/src/app/features/invite-user-modal/summary/summary.component.html
+++ b/frontend/src/app/features/invite-user-modal/summary/summary.component.html
@@ -42,7 +42,7 @@
<div class="spot-action-bar--right">
<button
type="button"
- class="button button_no-margin spot-action-bar--action"
+ class="button button_no-margin spot-action-bar--action spot-modal--cancel-button"
(click)="close.emit()"
>{{ text.cancelButton }}</button>
<button
diff --git a/frontend/src/app/shared/components/attribute-help-texts/help-text.modal.html b/frontend/src/app/shared/components/attribute-help-texts/help-text.modal.html
index 39125a790e2..a0251f605b0 100644
--- a/frontend/src/app/shared/components/attribute-help-texts/help-text.modal.html
+++ b/frontend/src/app/shared/components/attribute-help-texts/help-text.modal.html
@@ -28,7 +28,7 @@
<div class="spot-action-bar--right">
<button
type="button"
- class="button button_no-margin spot-action-bar--action"
+ class="button button_no-margin spot-action-bar--action spot-modal--cancel-button"
(click)="closeMe()"
>
{{ text.close }}
diff --git a/modules/webhooks/app/cells/views/response_body.erb b/modules/webhooks/app/cells/views/response_body.erb
index 1c43ed6db7e..07260ae84cc 100644
--- a/modules/webhooks/app/cells/views/response_body.erb
+++ b/modules/webhooks/app/cells/views/response_body.erb
@@ -23,7 +23,7 @@
<div class="spot-action-bar">
<div class="spot-action-bar--right">
<button
- class="button button_no-margin spot-action-bar--action"
+ class="button button_no-margin spot-action-bar--action spot-modal--cancel-button"
title="<%= t(:button_close) %>"
dynamic-content-modal-close-button
>