diff options
Diffstat (limited to 'web/views.go')
| -rw-r--r-- | web/views.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/web/views.go b/web/views.go index 9771a4d..7a5a461 100644 --- a/web/views.go +++ b/web/views.go @@ -28,6 +28,7 @@ type RidesPageData struct { type AnalyticsPageData struct { Points []AnalyticsPoint + Filter RideFilterView } type AnalyticsPoint struct { @@ -427,6 +428,10 @@ func formatClimbCount(count int) string { return fmt.Sprintf("%d", count) } +func formatRideCount(count int) string { + return fmt.Sprintf("%d", count) +} + func formatProfileDistance(distanceKm float64) string { return fmt.Sprintf("%.1f km", distanceKm) } |
