imports no stroke data by creating synthetic workout
This commit is contained in:
@@ -46,11 +46,7 @@
|
||||
{% for workout in workouts %}
|
||||
<tr>
|
||||
<td>
|
||||
{% if workout|lookup:'source' != 'Web' %}
|
||||
<a href="/rowers/workout/c2import/{{ workout|lookup:'id' }}/">Import</a></td>
|
||||
{% else %}
|
||||
|
||||
{% endif %}
|
||||
<td>{{ workout|lookup:'starttime' }}</td>
|
||||
<td>{{ workout|lookup:'duration' }}</td>
|
||||
<td>{{ workout|lookup:'distance' }}</td>
|
||||
@@ -58,11 +54,8 @@
|
||||
<td>{{ workout|lookup:'source' }}</td>
|
||||
<td>{{ workout|lookup:'comment' }}</td>
|
||||
<td>
|
||||
{% if workout|lookup:'source' != 'Web' %}
|
||||
{{ workout|lookup:'new' }}
|
||||
{% else %}
|
||||
|
||||
{% endif %}</td>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user