bug fix dns list
This commit is contained in:
@@ -15360,7 +15360,7 @@ def plannedsessions_view(request,
|
||||
|
||||
totals['time'] = int(totals['time']/60.)
|
||||
totals['actualtime'] = int(totals['actualtime']/60.)
|
||||
totals['plannedtime'] = int(totals['plannedtime']/60.)
|
||||
totals['plannedtime'] = int(totals['plannedtime'])
|
||||
|
||||
unmatchedworkouts = Workout.objects.filter(
|
||||
user=r,
|
||||
@@ -16321,6 +16321,15 @@ def virtualevent_view(request,id=0):
|
||||
|
||||
buttons = []
|
||||
|
||||
# to-do - add DNS
|
||||
dns = []
|
||||
if timezone.now() > race.evaluation_closure:
|
||||
dns = resultobj.objects.filter(
|
||||
race=race,
|
||||
workoutid__isnull=True,
|
||||
)
|
||||
|
||||
|
||||
if not request.user.is_anonymous():
|
||||
if race_can_register(r,race):
|
||||
buttons += ['registerbutton']
|
||||
@@ -16417,13 +16426,6 @@ def virtualevent_view(request,id=0):
|
||||
else:
|
||||
form = None
|
||||
|
||||
# to-do - add DNS
|
||||
dns = []
|
||||
if timezone.now() > race.evaluation_closure:
|
||||
dns = resultobj.objects.filter(
|
||||
race=race,
|
||||
workoutid__isnull=True,
|
||||
)
|
||||
|
||||
|
||||
breadcrumbs = [
|
||||
|
||||
Reference in New Issue
Block a user