aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2022-07-01 19:24:22 +0200
committerDaniel Schadt <kingdread@gmx.de>2022-07-01 19:24:22 +0200
commit4ab4c65e41564d590bf2cc9ddee127b5269f68f3 (patch)
tree4f03ed074a70160e180816cefa7e9752c8e0a85c
parent50aad296cfb5fae02fe0e11bd7fd06abfb2a1126 (diff)
downloadfietsboek-4ab4c65e41564d590bf2cc9ddee127b5269f68f3.tar.gz
fietsboek-4ab4c65e41564d590bf2cc9ddee127b5269f68f3.tar.bz2
fietsboek-4ab4c65e41564d590bf2cc9ddee127b5269f68f3.zip
fix download link for share links
-rw-r--r--fietsboek/templates/details.jinja22
1 files changed, 1 insertions, 1 deletions
diff --git a/fietsboek/templates/details.jinja2 b/fietsboek/templates/details.jinja2
index f626730..f741d4e 100644
--- a/fietsboek/templates/details.jinja2
+++ b/fietsboek/templates/details.jinja2
@@ -55,7 +55,7 @@
<div id="mainmap_hp" style="width:100%;height:300px">
</div>
- <a class="btn btn-primary" href="{{ request.route_path('gpx', id=track.id) }}"><i class="bi bi-download"></i> {{ _("page.details.download") }}</a>
+ <a class="btn btn-primary" href="{{ gpx_url }}"><i class="bi bi-download"></i> {{ _("page.details.download") }}</a>
<table class="table table-hover table-sm">
<tbody>