From 9da52d7355f5a77f0adc9a658619b3bfef03ba3c Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Fri, 21 Aug 2026 06:56:12 +0200 Subject: feat(ride): persist canonical moving time, preserve Strava reference --- web/templates.templ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/templates.templ') diff --git a/web/templates.templ b/web/templates.templ index 8a987fc..88f17d1 100644 --- a/web/templates.templ +++ b/web/templates.templ @@ -108,7 +108,7 @@ templ RidesContent(data RidesPageData) { for _, item := range data.Items { - { item.Name }
{ item.Type }{ formatRideDate(item.StartDate) }{ formatDistance(item.DistanceM) }{ formatDuration(item.MovingTimeS) }{ formatElevation(item.TotalElevationGainM) }{ item.Cotacol }{ item.CotacolPer100Km } + { item.Name }
{ item.Type }{ formatRideDate(item.StartDate) }{ formatDistance(item.DistanceM) }{ item.MovingTime }{ formatElevation(item.TotalElevationGainM) }{ item.Cotacol }{ item.CotacolPer100Km } } @@ -139,7 +139,7 @@ templ RideDetailContent(data RideDetailView) {
Distance
{ formatDistance(data.Ride.DistanceM) }
-
Moving time
{ formatDuration(data.Ride.MovingTimeS) }
+
Moving time
{ data.MovingTime }
Elevation
{ formatElevation(data.Ride.TotalElevationGainM) }
-- cgit v1.3