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
import {
ChangeDetectionStrategy,
Component,
OnInit,
} from '@angular/core';
import { I18nService } from 'core-app/core/i18n/i18n.service';
import { UserPreferencesService } from 'core-app/features/user-preferences/state/user-preferences.service';
import {
UntypedFormGroup,
FormGroupDirective,
} from '@angular/forms';
@Component({
selector: 'op-immediate-reminder-settings',
templateUrl: './immediate-reminder-settings.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false,
})
export class ImmediateReminderSettingsComponent implements OnInit {
form:UntypedFormGroup;
text = {
title: this.I18n.t('js.reminders.settings.immediate.title'),
explanation: this.I18n.t('js.reminders.settings.immediate.explanation'),
mentioned: this.I18n.t('js.reminders.settings.immediate.mentioned'),
personalReminder: this.I18n.t('js.reminders.settings.immediate.personal_reminder'),
};
constructor(
private I18n:I18nService,
private storeService:UserPreferencesService,
private rootFormGroup:FormGroupDirective,
) {
}
ngOnInit():void {
this.form = this.rootFormGroup.control.get('immediateReminders') as UntypedFormGroup;
}
}