Private
Public Access
1
0

removed time info

This commit is contained in:
Sander Roosendaal
2020-05-10 20:05:00 +02:00
parent c34058aae8
commit f1d90a7ce5
2 changed files with 3 additions and 1 deletions

View File

@@ -285,6 +285,8 @@ def interactive_workouttype_piechart(workouts):
data['color'] = ['lightblue']
data['totaltime'] = pd.Series([pretty_timedelta(v) for v in data['value']])
#print(data)
p = figure(plot_height=350, title="Types", toolbar_location=None,
tools="hover,save", tooltips="@type: @totaltime", x_range=(-0.5, 1.0))

View File

@@ -30,7 +30,7 @@
<ul class="main-content">
<li class="grid_2">
<h1>History for {{ rower.user.first_name }} {{ rower.user.last_name }} from {{ startdate|date:"c" }} to {{ enddate|date:"c"}}</h1>
<h1>History for {{ rower.user.first_name }} {{ rower.user.last_name }}</h1>
</li>
<li class="grid_2">
<a href="/rowers/history/?enddate={{ today|date:"Y-m-d" }}&startdate={{ lastseven|date:"Y-m-d" }}&workouttype={{ workouttype }}">Past 7 days</a>