Private
Public Access
1
0

time in zone rowed - workouts list

This commit is contained in:
Sander Roosendaal
2017-09-21 21:31:17 +02:00
parent e54d914b14
commit c9628b2e1d

View File

@@ -1,9 +1,7 @@
{% extends "base.html" %}
{% load staticfiles %}
{% load rowerfilters %}
{% load tz %}
{% get_current_timezone as TIME_ZONE %}
{% load l10n %}
{% block title %}Workouts{% endblock %}
{% block content %}
@@ -53,7 +51,8 @@
<table width="100%" class="listtable shortpadded">
<thead>
<tr>
<th style="width:120px"> Date, Time</th>
<th style="width:80"> Date</th>
<th> Time</th>
<th> Name</th>
<th> Type</th>
<th> Distance </th>
@@ -77,10 +76,9 @@
{% else %}
<tr>
{% endif %}
{% localtime on %}
<td> {{ workout.startdatetime|localtime|date:"Y-m-d, H:i" }} </td>
{% endlocaltime %}
<td>
<td> {{ workout.date|date:"Y-m-d" }} </td>
<td> {{ workout.starttime|date:"H:i" }} </td>
<td>
{% if workout.user.user == user or user == team.manager %}
{% if workout.rankingpiece %}
[RANKING PIECE]