From 132b52da20555d4aea98d8cc7416f2e594b92e2e Mon Sep 17 00:00:00 2001 From: FazCodeFR <30906528+FazCodeFR@users.noreply.github.com> Date: Fri, 15 Dec 2023 08:59:25 +0100 Subject: [PATCH 1/3] Add edit and fav --- .../animaux/animaux-details/animaux-details.component.html | 1 - .../animaux/animaux-list/animaux-list.component.html | 7 +++++++ .../animaux/animaux-list/animaux-list.component.ts | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/app/components/animaux/animaux-details/animaux-details.component.html b/src/app/components/animaux/animaux-details/animaux-details.component.html index 192ce4d..b09195d 100644 --- a/src/app/components/animaux/animaux-details/animaux-details.component.html +++ b/src/app/components/animaux/animaux-details/animaux-details.component.html @@ -114,5 +114,4 @@

Santé :

Contacter {{chat.nom }} - \ No newline at end of file diff --git a/src/app/components/animaux/animaux-list/animaux-list.component.html b/src/app/components/animaux/animaux-list/animaux-list.component.html index 2a4872f..e23379c 100644 --- a/src/app/components/animaux/animaux-list/animaux-list.component.html +++ b/src/app/components/animaux/animaux-list/animaux-list.component.html @@ -12,6 +12,8 @@ aria-label="Association" title="L'association">Association : {{chat.association.nom}} - {{formatDate(chat.createdAt)}}

+
{{chat.nom}} @@ -28,6 +30,11 @@ class="inline-flex items-center font-semibold transition-colors duration-200 text-deep-purple-accent-400 hover:text-deep-purple-800"> En savoir plus sur {{chat.nom}} + +
diff --git a/src/app/components/animaux/animaux-list/animaux-list.component.ts b/src/app/components/animaux/animaux-list/animaux-list.component.ts index f14f409..f6d7c62 100644 --- a/src/app/components/animaux/animaux-list/animaux-list.component.ts +++ b/src/app/components/animaux/animaux-list/animaux-list.component.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { faMars, faVenus } from '@fortawesome/free-solid-svg-icons'; +import { faMars, faVenus, faHeart } from '@fortawesome/free-solid-svg-icons'; import { AppService } from '../../../services/app.service'; import { Chat } from '../../../interfaces/interfaces'; import { DatePipe } from '@angular/common'; @@ -13,6 +13,7 @@ import { DatePipe } from '@angular/common'; export class AnimauxListComponent { faMars = faMars; faVenus = faVenus; + faHeart = faHeart; constructor(private appService: AppService, private datePipe: DatePipe) {} chats: Chat[] = []; From d828e8a44bffcfdc61d48650c59d241a4eedea1b Mon Sep 17 00:00:00 2001 From: FazCodeFR <30906528+FazCodeFR@users.noreply.github.com> Date: Fri, 15 Dec 2023 09:05:23 +0100 Subject: [PATCH 2/3] Test weebhook --- .../animaux/animaux-list/animaux-list.component.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/app/components/animaux/animaux-list/animaux-list.component.html b/src/app/components/animaux/animaux-list/animaux-list.component.html index e23379c..750d856 100644 --- a/src/app/components/animaux/animaux-list/animaux-list.component.html +++ b/src/app/components/animaux/animaux-list/animaux-list.component.html @@ -38,10 +38,5 @@ - - - - - \ No newline at end of file From adc3d1064cfceebaeffc79667e24bfb17f9a1635 Mon Sep 17 00:00:00 2001 From: FazCodeFR <30906528+FazCodeFR@users.noreply.github.com> Date: Fri, 15 Dec 2023 09:08:14 +0100 Subject: [PATCH 3/3] Test weebhook --- .../components/animaux/animaux-list/animaux-list.component.html | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/components/animaux/animaux-list/animaux-list.component.html b/src/app/components/animaux/animaux-list/animaux-list.component.html index 750d856..8450422 100644 --- a/src/app/components/animaux/animaux-list/animaux-list.component.html +++ b/src/app/components/animaux/animaux-list/animaux-list.component.html @@ -35,6 +35,7 @@ Édition +