bug fix nr of comments on workflow middle panel
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user