From 2358ac9090dd0667374e7572b143a33c5c235e3f Mon Sep 17 00:00:00 2001 From: "kham.vilaythong" Date: Sun, 9 Nov 2025 16:39:52 +1100 Subject: [PATCH] adding image on familytree show --- UI/src/app/person/family.orga.html | 11 +++++++++-- UI/src/app/person/familylist.ts | 5 +++-- UI/src/app/pickperson/image.display.html | 3 +-- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/UI/src/app/person/family.orga.html b/UI/src/app/person/family.orga.html index 5bd8736..a42c5c6 100644 --- a/UI/src/app/person/family.orga.html +++ b/UI/src/app/person/family.orga.html @@ -3,13 +3,20 @@
+ + +
+ @if (node.data.image != "") + { + + } -
{{ node.label }}
-
{{ node.data }}
+
{{ node.label }}
+
{{ node.data.sex }}
diff --git a/UI/src/app/person/familylist.ts b/UI/src/app/person/familylist.ts index d24093d..3b18997 100644 --- a/UI/src/app/person/familylist.ts +++ b/UI/src/app/person/familylist.ts @@ -299,9 +299,10 @@ export class FamilyList implements OnInit, OnDestroy{ id, familyList: this.familyList(), }, - header: 'Children', + header: 'Family Tree and Children', width: '80%', - maximizable: true + maximizable: true, + closable: true }); ref.onClose.subscribe((item: Person) => { diff --git a/UI/src/app/pickperson/image.display.html b/UI/src/app/pickperson/image.display.html index 2888bbe..a84eca5 100644 --- a/UI/src/app/pickperson/image.display.html +++ b/UI/src/app/pickperson/image.display.html @@ -1,6 +1,5 @@ Person Image -
- +
\ No newline at end of file