Private
Public Access
1
0

adding functionality to comment on planned sessions and races

This commit is contained in:
Sander Roosendaal
2019-02-13 15:13:49 +01:00
parent da4d39709e
commit 3709ad7ccb
12 changed files with 305 additions and 10 deletions

View File

@@ -135,6 +135,20 @@
title="Compare the workouts of all athletes who did this session">Compare Workouts</a>
</p>
</li>
<li class="grid_2">
<div id="comments">
<h2>Comments ({{ comments|length }})</h2>
{% for c in comments %}
<p>
<em>{{ c.user.first_name }} {{ c.user.last_name }}</em> - {{ c.created }}</br>
<q>{{ c.comment }}</q>
</p>
{% endfor %}
<p>
<a href="/rowers/sessions/{{ race.id }}/comments/">Add a comment</a>
</p>
</div>
</li>
{% if coursescript %}
<li class="grid_2">
<h2>Course</h2>