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 some title and descriptions in notification setting table

bsatarnejadb07b8b9d6d38
diff --git a/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.html b/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.html
index ea6fb61196b..1554c2089d9 100644
--- a/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.html
+++ b/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.html
@@ -29,7 +29,6 @@
/>
</spot-selector-field>
-
<spot-selector-field
[label]="text.assignee"
[control]="form.get('assignee')"
diff --git a/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.html b/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.html
index 9bbd16fb3d1..21c21d2f5d0 100644
--- a/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.html
+++ b/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.html
@@ -21,16 +21,30 @@
<tbody>
<tr>
<th class="op-table--cell op-table--cell_soft-heading">
- <h5>{{ text.mentioned_header.title }}</h5>
- <p>{{ text.mentioned_header.description }}</p>
+ <h5>{{ text.notifyImmediately.title }}</h5>
+ <p>{{ text.notifyImmediately.description }}</p>
</th>
+ <ng-container *ngFor="let item of settings.controls">
+ <td class="op-table--cell"></td>
+ </ng-container>
+ </tr>
+ <tr>
+ <th class="op-table--cell op-table--cell_soft-heading">
+ {{ text.mentioned_header.title }}
+ </th>
+ <ng-container *ngFor="let item of settings.controls">
+ <td class="op-table--cell"><input type="checkbox" disabled checked /></td>
+ </ng-container>
+ </tr>
+ <tr>
+ <th class="op-table--cell op-table--cell_soft-heading">{{ text.watched_header }}</th>
<ng-container *ngFor="let item of settings.controls">
<td class="op-table--cell"><input type="checkbox" disabled checked /></td>
</ng-container>
</tr>
<tr>
<th class="op-table--cell op-table--cell_soft-heading">
- <h5>{{ text.assignee }}</h5>
+ {{ text.assignee }}
</th>
<ng-container *ngFor="let item of settings.controls">
<td class="op-table--cell" [formGroup]="item">
@@ -45,7 +59,7 @@
</tr>
<tr>
<th class="op-table--cell op-table--cell_soft-heading">
- <h5>{{ text.responsible }}</h5>
+ {{ text.responsible }}
</th>
<ng-container *ngFor="let item of settings.controls">
<td class="op-table--cell" [formGroup]="item">
@@ -59,9 +73,12 @@
</ng-container>
</tr>
<tr>
- <th class="op-table--cell op-table--cell_soft-heading">{{ text.watched_header }}</th>
+ <th class="op-table--cell op-table--cell_soft-heading">
+ <h5>{{ text.alsoNotifyFor.title }}</h5>
+ <p>{{ text.alsoNotifyFor.description }}</p>
+ </th>
<ng-container *ngFor="let item of settings.controls">
- <td class="op-table--cell"><input type="checkbox" disabled checked /></td>
+ <td class="op-table--cell"></td>
</ng-container>
</tr>
<tr>
diff --git a/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.ts b/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.ts
index 28dfd1faf08..b58aa9333a8 100644
--- a/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.ts
+++ b/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.ts
@@ -29,6 +29,14 @@ export class NotificationSettingsTableComponent {
title: this.I18n.t('js.notifications.settings.reasons.mentioned.title'),
description: this.I18n.t('js.notifications.settings.reasons.mentioned.description'),
},
+ notifyImmediately: {
+ title: this.I18n.t('js.notifications.settings.global.immediately.title'),
+ description: this.I18n.t('js.notifications.settings.global.immediately.description'),
+ },
+ alsoNotifyFor: {
+ title: this.I18n.t('js.notifications.settings.global.delayed.title'),
+ description: this.I18n.t('js.notifications.settings.global.delayed.description'),
+ },
assignee: this.I18n.t('js.notifications.settings.reasons.assignee'),
responsible: this.I18n.t('js.notifications.settings.reasons.responsible'),
watched_header: this.I18n.t('js.notifications.settings.reasons.watched'),