diff --git a/rowers/templates/plannedsessionscoach.html b/rowers/templates/plannedsessionscoach.html index dceb066a..8a888c22 100644 --- a/rowers/templates/plannedsessionscoach.html +++ b/rowers/templates/plannedsessionscoach.html @@ -43,7 +43,7 @@ {% if user.is_authenticated and user|is_manager %}
| Rower | +Date | +Time | +Name | +Type | +Distance | +Duration | +Avg HR | +Max HR | +|||
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ workout.user.user.first_name }} {{ workout.user.user.last_name }} | +{{ workout.date|date:"Y-m-d" }} | +{{ workout.starttime|date:"H:i" }} | + {% if workout.user.user == user or user == team.manager %} + {% if workout.name != '' %} ++ + {{ workout.name }} + + | + {% else %} ++ No Name + | + {% endif %} + {% else %} + {% if workout.name != '' %} +{{ workout.name }} | + {% else %} +No Name | + {% endif %} + {% endif %} +{{ workout.workouttype }} | +{{ workout.distance }}m | +{{ workout.duration |durationprint:"%H:%M:%S.%f" }} | +{{ workout.averagehr }} | +{{ workout.maxhr }} | +