Private
Public Access
1
0

working, downloading tcx

This commit is contained in:
Sander Roosendaal
2018-06-05 21:54:47 +02:00
parent 6b03bc26c6
commit 278e99a38c
4 changed files with 31 additions and 21 deletions

View File

@@ -5,16 +5,18 @@
{% block title %}Workouts{% endblock %}
{% block content %}
<h1>New Workouts Available on Polar Flow</h1>
<h1>New Workouts Imported From Polar Flow</h1>
<p>Due to a limitation in Polar Flow's API, we can only access new workouts.</p>
<p>Due to a limitation in Polar Flow's API, we can only access new workouts. We
have imported the following workouts and are now processing them. You will
receive email when the workouts are ready. </p>
{% if workouts %}
<div class="grid_12 alpha">
<table width="70%" class="listtable">
<thead>
<tr>
<th> Import </th>
<th> Imported </th>
<th> Date</th>
<th> Duration </th>
<th> Distance </th>
@@ -25,7 +27,12 @@
{% for workout in workouts %}
<tr>
<td>
<a href="/rowers/workout/polarimport/{{ workout|lookup:'id' }}/{{ workout|lookup:'transactionid' }}">Import</a></td>
{% if workout|lookup:'filename' == '' %}
NO
{% else %}
YES
{% endif %}
</td>
<td>{{ workout|lookup:'starttime' }}</td>
<td>{{ workout|lookup:'duration' }} </td>
<td>{{ workout|lookup:'distance' }} m</td>