diff --git a/frontend/src/app/components/confirmation-dialog/confirmation-dialog.component.html b/frontend/src/app/components/confirmation-dialog/confirmation-dialog.component.html index 4c99664..0a786dc 100644 --- a/frontend/src/app/components/confirmation-dialog/confirmation-dialog.component.html +++ b/frontend/src/app/components/confirmation-dialog/confirmation-dialog.component.html @@ -1,10 +1,10 @@

{{title}}

{{description}}

\ No newline at end of file diff --git a/frontend/src/app/components/footer/footer.component.html b/frontend/src/app/components/footer/footer.component.html index e5d9854..45df47c 100644 --- a/frontend/src/app/components/footer/footer.component.html +++ b/frontend/src/app/components/footer/footer.component.html @@ -1,14 +1,14 @@
© - 2016 - 2024 Tous droits réservés + 2016 - 2024 All rights reserved - 2.0-alpha - + favorite
- menu_book + menu_book - - Développements réalisés par Florian THIERRY + Development realised by Florian THIERRY
\ No newline at end of file diff --git a/frontend/src/app/components/footer/footer.component.spec.ts b/frontend/src/app/components/footer/footer.component.spec.ts deleted file mode 100644 index 4647de8..0000000 --- a/frontend/src/app/components/footer/footer.component.spec.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing'; - -import { FooterComponent } from './footer.component'; - -describe('FooterComponent', () => { - let component: FooterComponent; - let fixture: ComponentFixture; - - beforeEach(async () => { - await TestBed.configureTestingModule({ - imports: [FooterComponent] - }) - .compileComponents(); - - fixture = TestBed.createComponent(FooterComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -}); diff --git a/frontend/src/app/components/header/header.component.html b/frontend/src/app/components/header/header.component.html index 5421b68..46ea23c 100644 --- a/frontend/src/app/components/header/header.component.html +++ b/frontend/src/app/components/header/header.component.html @@ -1,5 +1,5 @@
- @@ -19,18 +19,18 @@ } @else { - Login + Login }
\ No newline at end of file diff --git a/frontend/src/app/components/header/header.component.ts b/frontend/src/app/components/header/header.component.ts index 66ff0b0..5f7f73f 100644 --- a/frontend/src/app/components/header/header.component.ts +++ b/frontend/src/app/components/header/header.component.ts @@ -1,16 +1,15 @@ +import { CommonModule } from '@angular/common'; import { Component, inject } from '@angular/core'; -import { MatIconModule } from '@angular/material/icon'; +import { FormControl, ReactiveFormsModule } from '@angular/forms'; import { MatButtonModule } from '@angular/material/button'; +import { MatRippleModule } from '@angular/material/core'; +import { MatIconModule } from '@angular/material/icon'; +import { MatMenuModule } from '@angular/material/menu'; +import { MatTooltipModule } from '@angular/material/tooltip'; import { RouterModule } from '@angular/router'; import { AuthenticationService } from '../../core/service/authentication.service'; -import { CommonModule } from '@angular/common'; -import { SideMenuComponent } from '../side-menu/side-menu.component'; -import { MatRippleModule } from '@angular/material/core'; -import { FormControl, ReactiveFormsModule } from '@angular/forms'; import { PublicationsSearchBarComponent } from '../publications-search-bar/publications-search-bar.component'; -import { MatTooltipModule } from '@angular/material/tooltip'; -import { MatMenuModule } from '@angular/material/menu'; -import { User } from '../../core/model/User'; +import { SideMenuComponent } from '../side-menu/side-menu.component'; @Component({ selector: 'app-header', diff --git a/frontend/src/app/components/publications-search-bar/publications-search-bar.component.html b/frontend/src/app/components/publications-search-bar/publications-search-bar.component.html index 6a89b0b..4d80970 100644 --- a/frontend/src/app/components/publications-search-bar/publications-search-bar.component.html +++ b/frontend/src/app/components/publications-search-bar/publications-search-bar.component.html @@ -1,5 +1,5 @@
- + diff --git a/frontend/src/app/components/publications-search-bar/publications-search-bar.service.ts b/frontend/src/app/components/publications-search-bar/publications-search-bar.service.ts deleted file mode 100644 index af06724..0000000 --- a/frontend/src/app/components/publications-search-bar/publications-search-bar.service.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { HttpParams } from "@angular/common/http"; -import { inject, Injectable } from "@angular/core"; -import { Router } from "@angular/router"; -import { BehaviorSubject } from "rxjs"; - -@Injectable() -export class PublicationsSearchBarService { - private router = inject(Router); - private criteriaSubject = new BehaviorSubject(''); - - private cri - - searchPublications(): void { - let queryParams = new HttpParams(); - queryParams = queryParams.set('query', this.criteriaSubject.value); - this.router.navigate(['/publications'], {queryParams}); - } -} \ No newline at end of file diff --git a/frontend/src/locale/messages-fr.json b/frontend/src/locale/messages-fr.json index e39fd55..99df100 100644 --- a/frontend/src/locale/messages-fr.json +++ b/frontend/src/locale/messages-fr.json @@ -1,7 +1,17 @@ { "locale": "fr-FR", "translations": { + "3603720768157919481": "Non", + "4861926948802653243": "Oui", + "9214089025589249203": "Les indicateurs de vie du site seront disponibles ultérieurement...", + "1711651175531679766": "La documentation sera disponible ultérieurement...", + "6299155290121808295": "Développements realisés par", + "6413533995205687351": "Cliquez pour afficher le menu", + "3394094310583807145": "{$START_TAG_MAT_ICON}description{$CLOSE_TAG_MAT_ICON} Mes publications", + "5690703874094076840": "{$START_TAG_MAT_ICON}logout{$CLOSE_TAG_MAT_ICON} Déconnexion", + "2454050363478003966": "Connexion", "2578598149846191609": "Publication postée par {$INTERPOLATION}", + "6514394873612421064": "Rechercher quelque chose...", "3450287383703155559": "Vous n'êtes pas connecté. Veuillez vous connecter avant de réessayer.", "7819314041543176992": "Fermer", "5455465794443528807": "You n'êtes pas connecté. Veuillez vous connecter avant de réessayer votre opération.", @@ -11,7 +21,6 @@ "5148998676057880041": "Chargement des publications...", "3688381096110057852": "Il n'y a aucune publication.", "8393632007890629197": "Une erreur est survenue lors du chargement des dernières publications...", - "2454050363478003966": "Connexion", "8138320902772264034": "Adresse email {$START_TAG_SPAN}*{$CLOSE_TAG_SPAN}", "9175472990822669391": "Mot de passe {$START_TAG_SPAN}*{$CLOSE_TAG_SPAN}", "6490688569532630280": "Valider", diff --git a/frontend/src/locale/messages.json b/frontend/src/locale/messages.json index cac7668..ccae797 100644 --- a/frontend/src/locale/messages.json +++ b/frontend/src/locale/messages.json @@ -1,7 +1,17 @@ { "locale": "en-UK", "translations": { + "3603720768157919481": " No ", + "4861926948802653243": " Yes ", + "9214089025589249203": "Health checking will be available in future...", + "1711651175531679766": "Documentation will be available in future...", + "6299155290121808295": "Development realised by", + "6413533995205687351": "Click to show side menu", + "3394094310583807145": "{$START_TAG_MAT_ICON}description{$CLOSE_TAG_MAT_ICON} My publications ", + "5690703874094076840": "{$START_TAG_MAT_ICON}logout{$CLOSE_TAG_MAT_ICON} Disconnect ", + "2454050363478003966": "Login", "2578598149846191609": "Publication posted by {$INTERPOLATION}", + "6514394873612421064": "Search something...", "3450287383703155559": "You are unauthenticated. Please, log-in first.", "7819314041543176992": "Close", "5455465794443528807": "You are unauthenticated. Please, re-authenticate before retrying your action.", @@ -11,7 +21,6 @@ "5148998676057880041": "Publications loading...", "3688381096110057852": "No any publication.", "8393632007890629197": "An error occurred while retrieving latest publications...", - "2454050363478003966": "Login", "8138320902772264034": " Email address {$START_TAG_SPAN}*{$CLOSE_TAG_SPAN}", "9175472990822669391": " Password {$START_TAG_SPAN}*{$CLOSE_TAG_SPAN}", "6490688569532630280": "Send",