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
Add high contrast image for notification center "no notifications"
Henriette Darge00b2584fe817
diff --git a/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.ts b/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.tsindex 70b4f0c8eea..aeffcf4fc36 100644--- a/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.ts+++ b/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.ts@@ -110,8 +110,7 @@ export class InAppNotificationCenterComponent implements OnInit {selectedFilter = this.reasonMenuItems.find((item) => item.key === this.urlParams.get('name'))?.title;image = {- no_notification: imagePath('notification-center/empty-state-no-notification.svg'),- no_selection: imagePath('notification-center/empty-state-no-selection.svg'),+ no_notification: imagePath(`notification-center/empty-state-no-notification_${this.colorsService.colorMode()}.svg`),loading: imagePath(`notification-center/notification_loading_${this.colorsService.colorMode()}.gif`),};diff --git a/frontend/src/assets/images/notification-center/empty-state-no-notification.svg b/frontend/src/assets/images/notification-center/empty-state-no-notification_dark.svgsimilarity index 100%rename from frontend/src/assets/images/notification-center/empty-state-no-notification.svgrename to frontend/src/assets/images/notification-center/empty-state-no-notification_dark.svgdiff --git a/frontend/src/assets/images/notification-center/empty-state-no-notification_light.svg b/frontend/src/assets/images/notification-center/empty-state-no-notification_light.svgnew file mode 100644index 00000000000..e4c5fd14ed9--- /dev/null+++ b/frontend/src/assets/images/notification-center/empty-state-no-notification_light.svg@@ -0,0 +1 @@+<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 140"><defs><style>.cls-1{fill:#9fcde0;}.cls-2,.cls-5{fill:none;stroke-linecap:round;stroke-miterlimit:10;stroke-width:2.97px;}.cls-2{stroke:#0070ba;}.cls-3{fill:#0070ba;}.cls-4{fill:#4fab77;}.cls-5{stroke:#9fcde0;}</style></defs><circle class="cls-1" cx="106.02" cy="48.36" r="22.94"/><circle class="cls-2" cx="106.02" cy="48.36" r="29.48"/><path class="cls-3" d="M101.75,58.14a1.71,1.71,0,0,1-1.21-.5l-5.93-5.93A1.71,1.71,0,1,1,97,49.28L101.75,54,115,40.75a1.71,1.71,0,0,1,2.43,2.42L103,57.64A1.71,1.71,0,0,1,101.75,58.14Z"/><path class="cls-2" d="M106.3,84.44a38.87,38.87,0,0,0,11.72,20,5.6,5.6,0,0,1-3.76,9.75H26.48a5.6,5.6,0,0,1-3.77-9.75A38.81,38.81,0,0,0,35.42,75.79V60.44a35,35,0,0,1,42.3-34.17M75,18.8V13.34a4.62,4.62,0,0,0-5-4.6,4.69,4.69,0,0,0-4.19,4.71V18.8"/><path class="cls-4" d="M70.37,131.28a16,16,0,0,0,15.34-11.4,1,1,0,0,0-1-1.3H56a1,1,0,0,0-1,1.3A16,16,0,0,0,70.37,131.28Z"/><line class="cls-5" x1="21.5" y1="78.28" x2="13.1" y2="86.68"/><line class="cls-5" x1="15.97" y1="65.92" x2="4.5" y2="65.92"/><line class="cls-5" x1="13.1" y1="45.16" x2="21.17" y2="53.23"/></svg>\ No newline at end of filediff --git a/frontend/src/assets/images/notification-center/empty-state-no-notification_lightHighContrast.svg b/frontend/src/assets/images/notification-center/empty-state-no-notification_lightHighContrast.svgnew file mode 100644index 00000000000..84ea7fa8a43--- /dev/null+++ b/frontend/src/assets/images/notification-center/empty-state-no-notification_lightHighContrast.svg@@ -0,0 +1 @@+<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 140"><defs><style>.cls-1{fill:#368CF9;}.cls-2,.cls-5{fill:none;stroke-linecap:round;stroke-miterlimit:10;stroke-width:2.97px;}.cls-2{stroke:#04276C;}.cls-3{fill:#04276C;}.cls-4{fill:#055D20;}.cls-5{stroke:#368CF9;}</style></defs><circle class="cls-1" cx="106.02" cy="48.36" r="22.94"/><circle class="cls-2" cx="106.02" cy="48.36" r="29.48"/><path class="cls-3" d="M101.75,58.14a1.71,1.71,0,0,1-1.21-.5l-5.93-5.93A1.71,1.71,0,1,1,97,49.28L101.75,54,115,40.75a1.71,1.71,0,0,1,2.43,2.42L103,57.64A1.71,1.71,0,0,1,101.75,58.14Z"/><path class="cls-2" d="M106.3,84.44a38.87,38.87,0,0,0,11.72,20,5.6,5.6,0,0,1-3.76,9.75H26.48a5.6,5.6,0,0,1-3.77-9.75A38.81,38.81,0,0,0,35.42,75.79V60.44a35,35,0,0,1,42.3-34.17M75,18.8V13.34a4.62,4.62,0,0,0-5-4.6,4.69,4.69,0,0,0-4.19,4.71V18.8"/><path class="cls-4" d="M70.37,131.28a16,16,0,0,0,15.34-11.4,1,1,0,0,0-1-1.3H56a1,1,0,0,0-1,1.3A16,16,0,0,0,70.37,131.28Z"/><line class="cls-5" x1="21.5" y1="78.28" x2="13.1" y2="86.68"/><line class="cls-5" x1="15.97" y1="65.92" x2="4.5" y2="65.92"/><line class="cls-5" x1="13.1" y1="45.16" x2="21.17" y2="53.23"/></svg>diff --git a/frontend/src/assets/images/notification-center/empty-state-no-selection.svg b/frontend/src/assets/images/notification-center/empty-state-no-selection.svgdeleted file mode 100644index a8b85e5d9b4..00000000000--- a/frontend/src/assets/images/notification-center/empty-state-no-selection.svg+++ /dev/null@@ -1 +0,0 @@-<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 140"><defs><style>.cls-1,.cls-5{fill:none;stroke-linecap:round;stroke-miterlimit:10;stroke-width:2.97px;}.cls-1{stroke:#0070ba;}.cls-2{fill:#4fab77;}.cls-3{fill:#9fcde0;}.cls-4{fill:#0070ba;}.cls-5{stroke:#9fcde0;}</style></defs><path class="cls-1" d="M106.3,84.44a38.87,38.87,0,0,0,11.72,20,5.6,5.6,0,0,1-3.76,9.75H26.48a5.6,5.6,0,0,1-3.77-9.75A38.81,38.81,0,0,0,35.42,75.79V60.44a35,35,0,0,1,42.3-34.17M75,18.8V13.34a4.62,4.62,0,0,0-5-4.6,4.69,4.69,0,0,0-4.19,4.71V18.8"/><path class="cls-2" d="M70.37,131.28a16,16,0,0,0,15.34-11.4,1,1,0,0,0-1-1.3H56a1,1,0,0,0-1,1.3A16,16,0,0,0,70.37,131.28Z"/><circle class="cls-3" cx="106.02" cy="48.36" r="22.94"/><circle class="cls-1" cx="106.02" cy="48.36" r="29.48"/><path class="cls-4" d="M102.9,60.31a3.1,3.1,0,0,1,.23-1.21,2.87,2.87,0,0,1,.66-1,3.11,3.11,0,0,1,1-.66A3.05,3.05,0,0,1,106,57.2a3,3,0,0,1,1.21.25,3,3,0,0,1,1.65,1.65,3.1,3.1,0,0,1,0,2.44,3,3,0,0,1-.66,1,2.82,2.82,0,0,1-1,.64,3.11,3.11,0,0,1-1.21.24,3.22,3.22,0,0,1-1.24-.24,3.06,3.06,0,0,1-1-.64,3,3,0,0,1-.66-1A3.13,3.13,0,0,1,102.9,60.31Zm5.14-27a.44.44,0,0,1,.44.44V45.11a34,34,0,0,1-.19,3.67c-.11,1.12-.26,2.29-.44,3.52a.37.37,0,0,1-.35.31h-2.84a.37.37,0,0,1-.35-.31c-.18-1.23-.33-2.4-.45-3.52s-.18-2.42-.18-3.67V33.76a.43.43,0,0,1,.43-.44Z"/><line class="cls-5" x1="21.5" y1="78.28" x2="13.1" y2="86.68"/><line class="cls-5" x1="15.97" y1="65.92" x2="4.5" y2="65.92"/><line class="cls-5" x1="13.1" y1="45.16" x2="21.17" y2="53.23"/></svg>\ No newline at end of file