From 8998ee2d9ee1a73a7cf1669745c57295cd08f7c5 Mon Sep 17 00:00:00 2001
From: Tykayn
@@ -200,7 +200,7 @@
+
{{ 'advanced.notifications_title' | translate }}
+
{{ 'advanced.password_title' | translate }}
@@ -209,7 +209,7 @@
+
Notifications
@@ -220,7 +220,7 @@
Vous recevrez un mail à chaque nouveau commentaire
+
Réponses proposées
@@ -238,7 +238,7 @@
+
Restrictions visiteurs
@@ -256,7 +256,7 @@
diff --git a/src/app/features/administration/form/advanced-config/advanced-config.component.scss b/src/app/features/administration/form/advanced-config/advanced-config.component.scss
index 119db52b..f4bb2616 100644
--- a/src/app/features/administration/form/advanced-config/advanced-config.component.scss
+++ b/src/app/features/administration/form/advanced-config/advanced-config.component.scss
@@ -49,19 +49,13 @@
background: #fff;
margin: 0;
float: left;
- width: 59%;
+ width: 55%;
line-height: 1.5rem;
overflow: hidden;
text-overflow: ellipsis;
border: 0 !important;
}
- .title-advanced {
- font-size: 20px !important;
- line-height: 23px !important;
- color: $secondary_color;
- margin-bottom: 1rem;
- }
.password-box {
label {
margin-left: 0;
diff --git a/src/app/features/administration/form/date/list/time/time-list.component.ts b/src/app/features/administration/form/date/list/time/time-list.component.ts
index 5a8f589a..59e143ae 100644
--- a/src/app/features/administration/form/date/list/time/time-list.component.ts
+++ b/src/app/features/administration/form/date/list/time/time-list.component.ts
@@ -3,6 +3,8 @@ import { ChangeDetectorRef, Component, Inject, Input, OnInit } from '@angular/co
import { moveItemInArray, transferArrayItem } from '@angular/cdk/drag-drop';
import { DOCUMENT } from '@angular/common';
import { TimeSlices } from '../../../../../../core/models/dateChoice.model';
+import { ToastService } from '../../../../../../core/services/toast.service';
+import { TranslateService } from '@ngx-translate/core';
@Component({
selector: 'app-time-list',
@@ -15,7 +17,12 @@ export class TimeListComponent implements OnInit {
@Input()
public prefix_choice_id = '';
- constructor(@Inject(DOCUMENT) private document: any, private cd: ChangeDetectorRef) {}
+ constructor(
+ @Inject(DOCUMENT) private document: any,
+ private cd: ChangeDetectorRef,
+ private toastService: ToastService,
+ private translate: TranslateService
+ ) {}
ngOnInit(): void {}
@@ -36,6 +43,10 @@ export class TimeListComponent implements OnInit {
removeTime(id: number) {
this.timeSlices.splice(id, 1);
this.focusOnLastField();
+ this.translate.get('success.deleted_option').subscribe((resp) => {
+ console.log('resp', resp);
+ this.toastService.display(`${resp}`);
+ });
}
focusOnFieldNumber(fieldId: number) {
diff --git a/src/app/features/administration/form/steps/step-five/step-five.component.scss b/src/app/features/administration/form/steps/step-five/step-five.component.scss
index 49e139dc..e04eca8b 100644
--- a/src/app/features/administration/form/steps/step-five/step-five.component.scss
+++ b/src/app/features/administration/form/steps/step-five/step-five.component.scss
@@ -1,12 +1,6 @@
@import '../../../../../../styles/variables';
.step-five {
- .title-step {
- font-weight: bold;
- font-size: 32px;
- line-height: 37px;
- margin-bottom: 1rem !important;
- }
.decription {
margin-bottom: 2rem;
}
diff --git a/src/app/features/administration/form/steps/step-four/step-four.component.html b/src/app/features/administration/form/steps/step-four/step-four.component.html
index 9c4b881e..d0d56495 100644
--- a/src/app/features/administration/form/steps/step-four/step-four.component.html
+++ b/src/app/features/administration/form/steps/step-four/step-four.component.html
@@ -4,7 +4,7 @@