fix
This commit is contained in:
@@ -11,6 +11,11 @@
|
||||
<ul class="main-content">
|
||||
<li class="grid_4">
|
||||
<p>Created by: {{ plan.owner.first_name }} {{ plan.owner.last_name }}</p>
|
||||
{% if plan.url %}
|
||||
<p>Link:
|
||||
<a href="{{ plan.url }}" target="_">{{ plan.url }}</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
<p>Plan length: {{ plan.duration }} days</p>
|
||||
<p>{{ plan.description }}</p>
|
||||
<p>{{ plan.target }}</p>
|
||||
@@ -18,27 +23,37 @@
|
||||
<p>{{ plan.hoursperweek }} hours per week</p>
|
||||
<p>{{ plan.sessionsperweek }} sessions per week</p>
|
||||
</li>
|
||||
<li class="grid_2">
|
||||
<table width="100%" class="listtable">
|
||||
<li class="grid_4">
|
||||
<table width="100%" class="listtable shortpadded">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Week</th>
|
||||
<th>Day</th>
|
||||
<th>Workouts</th>
|
||||
<th>Day 1</th>
|
||||
<th>Day 2</th>
|
||||
<th>Day 3</th>
|
||||
<th>Day 4</th>
|
||||
<th>Day 5</th>
|
||||
<th>Day 6</th>
|
||||
<th>Day 7</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for day in trainingdays %}
|
||||
{% if day.order|weekbegin %}
|
||||
<tr>
|
||||
<td>{{ day.week }}</td>
|
||||
<td>{{ day.order }}</td>
|
||||
<td>
|
||||
<td width="5%">
|
||||
Week {{ day.week }}
|
||||
</td>
|
||||
{% endif %}
|
||||
<td width="14%">
|
||||
{% for workout in day.workouts %}
|
||||
<h3>{{ workout.workoutName }}</h3>
|
||||
{{ workout|steptostring|safe }}
|
||||
{% endfor %}
|
||||
</td>
|
||||
{% if day.order|weekend %}
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user