working, downloading tcx
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user