Private
Public Access
1
0

bug fix (pro user entering plan trial)

This commit is contained in:
Sander Roosendaal
2019-01-30 16:27:17 +01:00
parent cb9a2ce8ad
commit f3e8333bd1
5 changed files with 70 additions and 2 deletions

View File

@@ -199,6 +199,10 @@
<button style="width:100%">
<a href="/rowers/startplantrial/">Free SELF-COACH trial</a>
</button>
{% elif rower and rower.rowerplan == 'pro' and rower.plantrialexpires|date_dif == 1 %}
<button style="width:100%">
<a href="/rowers/startplantrial/">Free SELF-COACH trial</a>
</button>
{% else %}
&nbsp;
{% endif %}