Private
Public Access
1
0

Adding a notes field to the training plan

This commit is contained in:
Sander Roosendaal
2019-12-15 10:50:30 +01:00
parent d92e1968e8
commit 8e8211a8a6
3 changed files with 15 additions and 6 deletions

View File

@@ -24,6 +24,11 @@
The training plan target is: {{ plan.target.name }} on {{ plan.target.date }}.
{% endif %}
</p>
<h2>Notes</h2>
<p>
{{ plan.notes }}
</p>
{% if plan|mayeditplan:request %}
<p><a href="/rowers/editplan/{{ plan.id }}">Edit the plan</a></p>
{% endif %}
@@ -303,7 +308,7 @@
</th>
</tr>
{% if todays_date <= microcycle.enddate %}
{% if microcycle.plan.type == 'userdefined' %}
{% if microcycle.plan.type == 'userdefined' %}
<tr>
<td>&nbsp;</td>
</tr>
@@ -381,7 +386,7 @@
</tr>
<tr>
<td colspan="4">
{% if microcycle|mayeditplan:request %}
{% if microcycle|mayeditplan:request %}
<a href="/rowers/microcycle/{{ microcycle.id }}">edit</a>
/
<a href="/rowers/deletemicrocycle/{{ microcycle.id }}">delete</a>
@@ -427,7 +432,7 @@
The gray "filler"
cycles are generated, adjusted and deleted automatically to
ensure the entire plan
duration is covered with non-overlapping cycles.
duration is covered with non-overlapping cycles.
Once you edit a filler cycle, it become a user-defined
cycle, which cannot be deleted
by the system.</p>