From 1123d655bd6708fba056d9800af61e9f2e8bd6eb Mon Sep 17 00:00:00 2001 From: lxf Date: Sun, 2 Jan 2022 14:30:04 -0500 Subject: loc: made walks display track on map --- .../templates/locations/track_detail.html | 70 +++++++++++++++++++++- 1 file changed, 69 insertions(+), 1 deletion(-) (limited to 'app/locations/templates') diff --git a/app/locations/templates/locations/track_detail.html b/app/locations/templates/locations/track_detail.html index 6339852..df71d94 100644 --- a/app/locations/templates/locations/track_detail.html +++ b/app/locations/templates/locations/track_detail.html @@ -1,5 +1,7 @@ {% extends 'base.html' %} {% load typogrify_tags %} +{% block extrahead %} +{% endblock %} {%block bodyid%}class="detail"{%endblock%} {% block breadcrumbs %}{% include "lib/breadcrumbs.html" with breadcrumbs=breadcrumbs %}{% endblock %} {% block primary %} @@ -21,7 +23,7 @@
- {{object.title}} map +
+{{ object.gpx_file.raw_data|json_script:"track" }} +{% endblock %} +{% block js %} + + + {% endblock %} +{% comment %} + + + +{{ object.gpx_file.raw_data|json_script:"track" }} + +{% endcomment %} -- cgit v1.2.3-70-g09d2