From b0f42ef0cdec66d04e83ffb6dc817245e4bc6d20 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Mon, 17 Sep 2018 12:47:54 +0200 Subject: [PATCH] sessions link for past cycles --- rowers/templates/trainingplan.html | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/rowers/templates/trainingplan.html b/rowers/templates/trainingplan.html index 4142f116..cc17460f 100644 --- a/rowers/templates/trainingplan.html +++ b/rowers/templates/trainingplan.html @@ -83,6 +83,15 @@ sessions + {% else %} + +   + + + + sessions + + {% endif %} @@ -147,6 +156,17 @@ {% endif %} + {% else %} + {% if mesocycle.0.plan.type == 'userdefined' %} + +   + + + + sessions + + + {% endif %} {% endif %} @@ -209,6 +229,17 @@ {% endif %} + {% else %} + {% if microcycle.plan.type == 'userdefined' %} + +   + + + + sessions + + + {% endif %} {% endif %}