time in zone rowed - workouts list
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user