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
Harmonise look and feel of notification settings page and email reminders settings page
Henriette Dargead66c5de1a07
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.htmlindex 6a380d1e2ae..8b7599913a2 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@@ -4,8 +4,10 @@(ngSubmit)="saveChanges()"class="op-form">- <h5>{{ text.notifyImmediately.title }}</h5>- <p>{{ text.notifyImmediately.description }}</p>+ <div class="op-form--section-header">+ <h3 class="op-form--section-header-title">{{ text.notifyImmediately.title }}</h3>+ <p>{{ text.notifyImmediately.description }}</p>+ </div><spot-selector-fieldclass="op-notifications-settings--bold-label"@@ -65,8 +67,11 @@/></spot-selector-field>- <h5>{{ text.dateAlerts.title }}</h5>- <p>{{ text.dateAlerts.description }}</p>+ <div class="op-form--section-header">+ <h3 class="op-form--section-header-title">{{ text.dateAlerts.title }}</h3>+ <p>{{ text.dateAlerts.description }}</p>+ </div>+<div *ngIf="!eeShowBanners"><divclass="op-reminder-settings-date-alerts--row"@@ -171,8 +176,11 @@class="op-date-alert-ee-banner"></op-enterprise-banner>- <h5>{{ text.alsoNotifyFor.title }}</h5>- <p>{{ text.alsoNotifyFor.description }}</p>++ <div class="op-form--section-header">+ <h3 class="op-form--section-header-title">{{ text.alsoNotifyFor.title }}</h3>+ <p>{{ text.alsoNotifyFor.description }}</p>+ </div><spot-selector-field[label]="text.work_package_created"@@ -230,8 +238,10 @@</spot-selector-field>- <h5>{{text.projectSpecific.title}}</h5>- <p>{{text.projectSpecific.description}}</p>+ <div class="op-form--section-header">+ <h3 class="op-form--section-header-title">{{ text.projectSpecific.title }}</h3>+ <p>{{text.projectSpecific.description}}</p>+ </div><op-notification-settings-table*ngIf="userId"diff --git a/frontend/src/app/features/user-preferences/reminder-settings/email-alerts/email-alerts-settings.component.html b/frontend/src/app/features/user-preferences/reminder-settings/email-alerts/email-alerts-settings.component.htmlindex f926ab09816..caaa1a8ad11 100644--- a/frontend/src/app/features/user-preferences/reminder-settings/email-alerts/email-alerts-settings.component.html+++ b/frontend/src/app/features/user-preferences/reminder-settings/email-alerts/email-alerts-settings.component.html@@ -1,6 +1,6 @@<ng-container [formGroup]="form"><div class="op-form--section-header">- <h5 [textContent]="text.title"></h5>+ <h3 [textContent]="text.title" class="op-form--section-header-title"></h3><p [textContent]="text.explanation"></p></div>diff --git a/frontend/src/app/features/user-preferences/reminder-settings/immediate-reminders/immediate-reminder-settings.component.html b/frontend/src/app/features/user-preferences/reminder-settings/immediate-reminders/immediate-reminder-settings.component.htmlindex 2a3e27b5270..3e85891c967 100644--- a/frontend/src/app/features/user-preferences/reminder-settings/immediate-reminders/immediate-reminder-settings.component.html+++ b/frontend/src/app/features/user-preferences/reminder-settings/immediate-reminders/immediate-reminder-settings.component.html@@ -1,6 +1,6 @@<ng-container [formGroup]="form"><div class="op-form--section-header">- <h5 [textContent]="text.title"></h5>+ <h3 [textContent]="text.title" class="op-form--section-header-title"></h3></div><spot-selector-fielddiff --git a/frontend/src/app/features/user-preferences/reminder-settings/page/reminder-settings-page.component.html b/frontend/src/app/features/user-preferences/reminder-settings/page/reminder-settings-page.component.htmlindex f4cb171acdc..e9aa9e94e51 100644--- a/frontend/src/app/features/user-preferences/reminder-settings/page/reminder-settings-page.component.html+++ b/frontend/src/app/features/user-preferences/reminder-settings/page/reminder-settings-page.component.html@@ -1,5 +1,9 @@-<div class="title-container">- <h2 [textContent]="text.title"></h2>+<div class="toolbar-container">+ <div class="toolbar">+ <div class="title-container">+ <h2 [textContent]="text.title"></h2>+ </div>+ </div></div><formdiff --git a/frontend/src/app/features/user-preferences/reminder-settings/reminder-time/reminder-settings-daily-time.component.html b/frontend/src/app/features/user-preferences/reminder-settings/reminder-time/reminder-settings-daily-time.component.htmlindex 004bb22a40f..09c5e01ec36 100644--- a/frontend/src/app/features/user-preferences/reminder-settings/reminder-time/reminder-settings-daily-time.component.html+++ b/frontend/src/app/features/user-preferences/reminder-settings/reminder-time/reminder-settings-daily-time.component.html@@ -3,7 +3,7 @@[formGroup]="form"><div class="op-form--section-header">- <h5 [textContent]="text.title"></h5>+ <h3 [textContent]="text.title" class="op-form--section-header-title"></h3><p [textContent]="text.explanation"></p></div>diff --git a/frontend/src/app/features/user-preferences/reminder-settings/workdays/workdays-settings.component.html b/frontend/src/app/features/user-preferences/reminder-settings/workdays/workdays-settings.component.htmlindex df021fed3e3..d3c7e83d680 100644--- a/frontend/src/app/features/user-preferences/reminder-settings/workdays/workdays-settings.component.html+++ b/frontend/src/app/features/user-preferences/reminder-settings/workdays/workdays-settings.component.html@@ -1,6 +1,6 @@<ng-container [formGroup]="formGroup.control"><div class="op-form--section-header">- <h5 [textContent]="text.title"></h5>+ <h3 [textContent]="text.title" class="op-form--section-header-title"></h3></div><spot-selector-fielddiff --git a/frontend/src/app/shared/components/forms/form.sass b/frontend/src/app/shared/components/forms/form.sassindex 0b363247534..b0d640fddf3 100644--- a/frontend/src/app/shared/components/forms/form.sass+++ b/frontend/src/app/shared/components/forms/form.sass@@ -25,6 +25,13 @@&:not(:last-child)margin-bottom: 1rem+ &--section-header+ margin-top: 0.5rem++ &--section-header-title+ @extend %form--fieldset-legend-or-section-title+ margin-bottom: 0.25rem+&--field.spot-form-fieldmargin-bottom: 1rem