Private
Public Access
1
0

solving issue #232 and #234

This commit is contained in:
Sander Roosendaal
2017-11-15 20:05:14 -06:00
parent 7e02f4ab37
commit c3ad8a8500
3 changed files with 17 additions and 3 deletions

View File

@@ -46,14 +46,23 @@
{% for workout in workouts %}
<tr>
<td>
{% if workout|lookup:'source' != 'Web' %}
<a href="/rowers/workout/c2import/{{ workout|lookup:'id' }}/">Import</a></td>
{% else %}
&nbsp;
{% endif %}
<td>{{ workout|lookup:'starttime' }}</td>
<td>{{ workout|lookup:'duration' }}</td>
<td>{{ workout|lookup:'distance' }}</td>
<td>{{ workout|lookup:'rowtype' }}</td>
<td>{{ workout|lookup:'source' }}</td>
<td>{{ workout|lookup:'comment' }}</td>
<td>{{ workout|lookup:'new' }}</td>
<td>
{% if workout|lookup:'source' != 'Web' %}
{{ workout|lookup:'new' }}
{% else %}
&nbsp;
{% endif %}</td>
</tr>
{% endfor %}