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 override to make notifications settings bold again
Oliver Günther0ae91209f733
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 8a2c076a96f..cfd46505b67 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@@ -7,7 +7,9 @@<h5>{{ text.notifyImmediately.title }}</h5><p>{{ text.notifyImmediately.description }}</p>- <spot-selector-field [label]="text.mentioned.title">+ <spot-selector-field+ class="op-notifications-settings--bold-label"+ [label]="text.mentioned.title"><inputdisabledchecked@@ -18,6 +20,7 @@</spot-selector-field><spot-selector-field+ class="op-notifications-settings--bold-label"[label]="text.involved.title"[control]="form.get('involved')">diff --git a/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.sass b/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.sassnew file mode 100644index 00000000000..bfc26a71ec2--- /dev/null+++ b/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.sass@@ -0,0 +1,7 @@+// labels in some of the checkbox fields were bold+// before they were spotified.+// As this page is to be revisited, we are overriding the spot behavior here+// as requested by product.+.op-notifications-settings--bold-label+ .spot-form-field--label+ font-weight: bolddiff --git a/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.ts b/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.tsindex 262a27b9c75..69f11d16f7d 100644--- a/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.ts+++ b/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.ts@@ -4,11 +4,12 @@ import {Component,Input,OnInit,+ ViewEncapsulation,} from '@angular/core';import {- FormGroup,FormArray,FormControl,+ FormGroup,} from '@angular/forms';import { take } from 'rxjs/internal/operators/take';import { UIRouterGlobals } from '@uirouter/core';@@ -43,6 +44,8 @@ interface IFullNotificationSettingsValue extends IToastSettingsValue {@Component({selector: myNotificationsPageComponentSelector,templateUrl: './notifications-settings-page.component.html',+ styleUrls: ['./notifications-settings-page.component.sass'],+ encapsulation: ViewEncapsulation.None,changeDetection: ChangeDetectionStrategy.OnPush,})export class NotificationsSettingsPageComponent extends UntilDestroyedMixin implements OnInit {