adding functionality to comment on planned sessions and races
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user