From da5611005a40f51790d7a819b870a6e46719af94 Mon Sep 17 00:00:00 2001
From: Sander Roosendaal
Plan length: {{ plan.duration }} days
+ {% if plan.description %}{{ plan.description }}
-{{ plan.target }}
+ {% endif %} + {% if plan.goal %}Goal: {{ plan.goal }}
-{{ plan.hoursperweek }} hours per week
-{{ plan.sessionsperweek }} sessions per week
+ {% endif %} + {% if plan.target %} +What the plan will achieve: {{ plan.target }}
+ {% endif %} +Weekly volume: {{ plan.hoursperweek }} hours per week over {{ plan.sessionsperweek }} sessions.
diff --git a/rowers/templates/instantplans.html b/rowers/templates/instantplans.html index 920b2aa0..38a8146b 100644 --- a/rowers/templates/instantplans.html +++ b/rowers/templates/instantplans.html @@ -15,10 +15,13 @@
Created by: {{ plan.owner.first_name }} {{ plan.owner.last_name }}
Plan length: {{ plan.duration }} days
{{ plan.description }}
-{{ plan.target }}
+ {% if plan.target %} +What the plan will achieve: {{ plan.target }}
+ {% endif %} + {% if plan.goal %}Goal: {{ plan.goal }}
-{{ plan.hoursperweek }} hours per week
-{{ plan.sessionsperweek }} sessoins per week
+ {% endif %} +{{ plan.hoursperweek }} hours per week over {{ plan.sessionsperweek }} sessions