showing discounts
This commit is contained in:
@@ -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 }}€</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 }}€</p>
|
||||
{% endif %}
|
||||
{% if rower.eurocredits and plan.price > 0 %}
|
||||
<p>Your discount: {{ plan.price|discount:rower }}€</p>
|
||||
<p>You pay: {{ plan.price|discounted:rower }}€</p>
|
||||
{% endif %}
|
||||
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user