Private
Public Access
1
0

bug fix nr of comments on workflow middle panel

This commit is contained in:
Sander Roosendaal
2017-10-29 21:04:31 +01:00
parent 13fc8e1fed
commit 40fedbe4c4

View File

@@ -6303,6 +6303,10 @@ def workout_workflow_view(request,id):
if request.user == row.user.user:
mayedit=1
comments = WorkoutComment.objects.filter(workout=row)
aantalcomments = len(comments)
workouttype = 'ote'
if row.workouttype in ('water','coastal'):
workouttype = 'otw'
@@ -6364,6 +6368,7 @@ def workout_workflow_view(request,id):
'mapdiv':mapdiv,
'statcharts':statcharts,
'rower':r,
'aantalcomments':aantalcomments,
})
# The famous flex chart