From f6952bc7e0a14b40a77f61a233ddb9ecee8a0c49 Mon Sep 17 00:00:00 2001 From: itskovacs Date: Fri, 10 Oct 2025 18:08:07 +0200 Subject: [PATCH] :lipstick: Shared Trip: add archive review --- .../shared-trip/shared-trip.component.html | 19 +++++++++++++++++++ .../shared-trip/shared-trip.component.ts | 1 + 2 files changed, 20 insertions(+) diff --git a/src/src/app/components/shared-trip/shared-trip.component.html b/src/src/app/components/shared-trip/shared-trip.component.html index 12ab90b..24bd3e6 100644 --- a/src/src/app/components/shared-trip/shared-trip.component.html +++ b/src/src/app/components/shared-trip/shared-trip.component.html @@ -16,6 +16,19 @@ + @if (trip.archived) { +
+
This shared Trip is archived.
+
+ @if (trip.archival_review) { + + } +
+
+ } + + + @if (isArchivalReviewDisplayed) { +
+ {{ trip.archival_review }}
+ }
diff --git a/src/src/app/components/shared-trip/shared-trip.component.ts b/src/src/app/components/shared-trip/shared-trip.component.ts index 009fcfb..24416e4 100644 --- a/src/src/app/components/shared-trip/shared-trip.component.ts +++ b/src/src/app/components/shared-trip/shared-trip.component.ts @@ -59,6 +59,7 @@ export class SharedTripComponent implements AfterViewInit { selectedItem?: TripItem & { status?: TripStatus }; tableExpandableMode = false; isPrinting = false; + isArchivalReviewDisplayed = false; isMapFullscreen = false; isMapFullscreenDays = false;