Private
Public Access
1
0

showing discounts

This commit is contained in:
Sander Roosendaal
2021-11-11 11:09:27 +01:00
parent 72c1817c15
commit 6742f81fe3
5 changed files with 44 additions and 1 deletions

View File

@@ -10,11 +10,19 @@
<ul class="main-content">
<li class="grid_4">
<p>
On this page, you find trusted training plans that work. If you are looking for a plan, this page is for you.
This ever growing list of plans contains a plan for everyone, whether you are a beginning rower or experienced,
irrespective of your current fitness level. Click on a plan to read more and see the sessions. If you're
on a Self-Coach plan or higher, you can get the plan including even more detailed workout instructions
copied straight to your training calendar on this site, with the simple click of a button.
</p>
{% if rower.eurocredits %}
<p>
<em>Your have discount vouchers for an mount of {{ rower.eurocredits }}&euro;</em>. You
will get discount for up to this amount on any paid plan.
</p>
{% endif %}
</li>
{% for plan in plans %}
<li class="rounder">
@@ -34,6 +42,10 @@
{% else %}
<p>Price: {{ plan.price }}&euro;</p>
{% endif %}
{% if rower.eurocredits and plan.price > 0 %}
<p>Your discount: {{ plan.price|discount:rower }}&euro;</p>
<p>You pay: {{ plan.price|discounted:rower }}&euro;</p>
{% endif %}
</li>
{% endfor %}