From f6d9d738e1067397cc62485e76f2beeac85b914f Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 17 Aug 2025 10:00:37 +0200 Subject: Journey: Add JSON and GPX export of polylines --- templates/journey.html.ep | 79 ++++++++++++++++++++++++++--------------------- templates/polyline.gpx.ep | 20 ++++++++++++ 2 files changed, 64 insertions(+), 35 deletions(-) create mode 100644 templates/polyline.gpx.ep (limited to 'templates') diff --git a/templates/journey.html.ep b/templates/journey.html.ep index f9c78ec..b7b4223 100644 --- a/templates/journey.html.ep +++ b/templates/journey.html.ep @@ -317,11 +317,24 @@ % if (not stash('readonly')) { - % if (stash('with_share')) { -
-
-
-
+
+ +
+ %= form_for '/journey/edit' => (method => 'POST') => begin + %= hidden_field 'journey_id' => param('journey_id') + + %= end +
+
+ % if (stash('with_share')) { -
+ % }
- % } +
+

<%= L('journey.map-data') %>

- -
+
- %= form_for '/journey/edit' => (method => 'POST') => begin - %= hidden_field 'journey_id' => param('journey_id') - - %= end + + file_upload + GPX +
-
-
- %= form_for '/journey/edit' => (method => 'POST') => begin - %= hidden_field 'journey_id' => param('journey_id') - - %= end +