From 398f1261270c590dc5da3b8992e56cec4c955457 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Thu, 26 Oct 2017 18:16:13 +0200 Subject: [PATCH] 75 minutes is now a ranking distance --- rowers/interactiveplots.py | 1 + rowers/views.py | 1 + 2 files changed, 2 insertions(+) diff --git a/rowers/interactiveplots.py b/rowers/interactiveplots.py index 982d1918..29edb78c 100644 --- a/rowers/interactiveplots.py +++ b/rowers/interactiveplots.py @@ -1203,6 +1203,7 @@ def interactive_cpchart(rower,thedistances,thesecs,theavpower, cpdata = dataprep.fetchcperg(rower, theworkouts) if cpdata.empty: + message = 'Calculations are running in the background. Please refresh this page to see updated results' return ['','',paulslope,paulintercept,p1,message] velo = cpdata['distance']/cpdata['delta'] diff --git a/rowers/views.py b/rowers/views.py index cbeacc7d..ad43fcf3 100644 --- a/rowers/views.py +++ b/rowers/views.py @@ -2733,6 +2733,7 @@ def rankings_view(request,theuser=0, rankingdurations.append(datetime.time(minute=1)) rankingdurations.append(datetime.time(minute=4)) rankingdurations.append(datetime.time(minute=30)) + rankingdurations.append(datetime.time(hour=1,minute=15)) rankingdurations.append(datetime.time(hour=1)) thedistances = []