From f52bf64c6ce62a55a8d3578fb5a063950c5c8380 Mon Sep 17 00:00:00 2001 From: itskovacs Date: Sat, 4 Oct 2025 10:20:26 +0200 Subject: [PATCH] :lipstick: Trip: merge buttons into a menu, :lipstick: Trip: add labels to buttons, :lipstick: Trip: add GMaps directions buttons to days on grouped mode table --- .../app/components/trip/trip.component.html | 70 ++++++------ src/src/app/components/trip/trip.component.ts | 103 ++++++++++++------ 2 files changed, 104 insertions(+), 69 deletions(-) diff --git a/src/src/app/components/trip/trip.component.html b/src/src/app/components/trip/trip.component.html index 05b29f9..594cf96 100644 --- a/src/src/app/components/trip/trip.component.html +++ b/src/src/app/components/trip/trip.component.html @@ -4,7 +4,15 @@

{{ trip?.name }}

- {{ trip?.days?.length }} {{ trip?.days!.length > 1 ? 'days' : 'day'}} +
+ {{ + trip?.days?.length }} {{ trip?.days!.length > 1 ? 'days' : + 'day'}} + {{ + (totalPrice | number:'1.0-2') || '-' }} {{ trip?.currency }} +
@@ -14,28 +22,11 @@
@if (!trip?.archived) { - - -
+
} - - {{ - (totalPrice | number:'1.0-2') || '-' }} {{ trip?.currency }}
@@ -62,23 +53,21 @@
-
+
@@ -118,13 +107,18 @@ - - {{ tripitem.td_label }} - +
+ + {{ tripitem.td_label }} + + + +
@@ -625,7 +619,7 @@
@for (item of checklistItems; track item.id) {
-